The purpose of this project is to do a reproducible pipeline with a ranking similar questions based on quora dataset. To make it reproducible and readable I want to use such technologies/libraries in my project:
- Reproducibility:
- Poetry — to keep track of dependencies and make it library
- Docker + FastAPI — to make a microservice with an isolated environment
- mlflow - for keep track of experimentation
- Readability:
- Cookiecutter’s DS project template — for easier navigation
- I want to do docstrings and explicitly write data types with Typing
- Use linters like flake8 or black for codestyle
- CI/CD, tracking etc
- logging - for service tracking
- Do commits aligned with conventional commits
├── LICENSE
├── Makefile <- Makefile with commands like `make data` or `make train`
├── README.md <- The top-level README for developers using 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.
│
├── docs <- A default Sphinx project; see sphinx-doc.org for details
│
├── 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`.
│
├── 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
│
└── .ignore files <- To hide unnecessery data from push and build actions
│
└── poetry.lock <- Poetry-related and env-related files
└── pyproject.toml
│
└── Dockerfile <- Dockerfile for building images
Project based on the cookiecutter data science project template. #cookiecutterdatascience