@TODO
python -m venv dev
source dev/Scripts/activate
pip install -r requirements.txt
docker build --tag app:1.0 .
docker run --publish 8501:8501 -it app:1.0 src/api.py
Then 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.py
to createcleaned_data.pkl
; - Execute
src/feat_prep.py
to createtraining.pkl
; - Execute
src/create_folds.py
to createtraining_folds.pkl
; - Execute
src/train.py
to train the model ;
python src/report.py --fold=1
fold value is in range [0,4]
python -m isort src/
python -m black src/
python -m flake8 src/ --count --statistics
This project is provided under the MIT license.