Empty templated project
Category: ML model to start | Status: Waiting for contributors
3 min to read
GitHub repo
New empty templated project just waiting for you to fork it, edit it and push it back through a pull request to ds4es.
Initiate a data centric project that emergency services could benefit from with the Cookiecutter Data Science project structure that aims to be a logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
We also recommends to track, manage and share models with MLFlow and Neptune (https://github.com/neptune-ai/neptune-mlflow).
To do so in brief:
- Start by forking an empty_templated_project_## repo from GitHub: http://github.com/ds4es
- Edit your forked version of the repo with some awesome work
- Submit it back under http://github.com/ds4es with a pull request to keep it easly visible by the community.
For details:
Folder structure
data
- Datasets.docs
- Sphinx documentation.models
- Trained and serialized models, model predictions, or model summaries.notebooks
- Jupyter notebooks. Naming convention is the date (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.src
- Stores source code (python, R etc) which serves multiple scenarios. During data exploration and model training, we have to transform data for particular purpose. We have to use same code to transfer data during online prediction as well. So it better separates code from notebook such that it serves different purpose.
.
├── .env <- Store your secrets and config variables in a special file
├── .gitignore <- Avoids uploading data, credentials,
| outputs, system files etc
├── env <- Will contain the Python executable files and installed libraries for your virtualenv environment
├── requirements.txt <- Install the environment dependencies with: `pip install -r requirements.txt`
├── LICENSE
├── Makefile <- Makefile with commands like `make data` or `make train`
├── README.md <- The top-level README for developers using this project.
├── setup.py <- makes project pip installable (pip install -e .) so src can be imported
├── 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.
├── docs <- Space for Sphinx documentation
├── 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`.
│ ├── eda <- Placholder for describing exploratory data analysis
│ ├── evaluation <- Placholder for describing model evaluation
│ ├── modeling <- Placholder for describing how the model is built
│ └── poc <- Describing Proof-of-Concept
├── references <- Data dictionaries, manuals, etc.
├── reports <- Generated analysis as HTML, PDF, LaTeX, etc.
│ └── figures <- Generated graphics and figures to be used in reporting
├── src <- Source code for use in this project.
│ ├── __init__.py <- Makes src 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
│ └── visualization <- Scripts to create exploratory and results oriented visualizations
│ └── visualize.py
└── tox.ini <- Automate testing, cf. https://tox.readthedocs.io/en/latest/.