@TODO
python -m venv dev
source dev/Scripts/activate
pip install -r requirements.txtdocker build --tag app:1.0 .docker run --publish 8501:8501 -it app:1.0 src/api.pyThen access http://localhost:8501
Everytime you update the project, you must build a new image with a new tag.
- Download the RAW data ;
- Execute
src/clean.pyto createcleaned_data.pkl; - Execute
src/feat_prep.pyto createtraining.pkl; - Execute
src/create_folds.pyto createtraining_folds.pkl; - Execute
src/train.pyto train the model ;
python src/report.py --fold=1fold value is in range [0,4]
python -m isort src/
python -m black src/
python -m flake8 src/ --count --statisticsThis project is provided under the MIT license.