No description available.
Cookiecutter Conda Data Science
A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
Requirements
- Conda
- Cookiecutter Python package: This can be installed with pip by or conda depending on how you manage your Python packages:
bash
pip install cookiecutter
or
bash
conda install -c conda-forge cookiecutter
Create a new project
In a folder where you want your project generated:
cookiecutter https://github.com/jvelezmagic/cookiecutter-conda-data-science
Resulting directory structure
โโโ LICENSE โโโ tasks.py <- Invoke with commands like notebook. โโโ README.md <- The top-level README for developers using this project. โโโ install.md <- Detailed instructions to set up this project. โโโ data โ โโโ external <- Data from third party sources. โ โโโ interim <- Intermediate data that has been transformed. โ โโโ processed <- The final, canonical data sets for modeling. โ โโโ raw <- The original, immutable data dump. โ โโโ models <- Trained and serialized models, model predictions, or model summaries. โ โโโ notebooks <- Jupyter notebooks. Naming convention is a number (for ordering), โ the creator's initials, and a short - delimited description, e.g. โ 1.0-jqp-initial-data-exploration. โ โโโ references <- Data dictionaries, manuals, and all other explanatory materials. โ โโโ reports <- Generated analysis as HTML, PDF, LaTeX, etc. โ โโโ figures <- Generated graphics and figures to be used in reporting. โ โโโ environment.yml <- The requirements file for reproducing the analysis environment. โ โโโ .here <- File that will stop the search if none of the other criteria โ apply when searching head of project. โ โโโ setup.py <- Makes project pip installable (pip install -e .) โ so {{ cookiecutter.projectmodulename }} can be imported. โ โโโ {{ cookiecutter.projectmodulename }} <- Source code for use in this project. โโโ init.py <- Makes {{ cookiecutter.projectmodulename }} a Python module. โ โโโ data <- Scripts to download or generate data. โ โโโ make_dataset.py โ โโโ features <- Scripts to turn raw data into features for modeling. โ โโโ build_features.py โ โโโ models <- Scripts to train models and then use trained models to make โ โ predictions. โ โโโ predict_model.py โ โโโ train_model.py โ โโโ utils <- Scripts to help with common tasks. โโโ paths.py <- Helper functions to relative file referencing across project. โ โโโ visualization <- Scripts to create exploratory and results oriented visualizations. โโโ visualize.py
Contributing guide
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
Credits
This project is heavily influenced by drivendata's Cookiecutter Data Science, andfanilo's Cookiecutter for Kaggle Conda projects, and julia's package DrWatson.
Other links that helped shape this cookiecutter :