This is a demo project to show how to make predictions using Machine Learning RandomForestClassifier model and its deployment using Flask API.
Project has two major parts:
To run this project it is recommended to setup a conda (or virtual) environment by using requirements.txt file.
conda create --name <env> --file <requirements.txt>
conda activate <your path>
export FLASK_APP=webApp/heart_disease_webapp
flask run
execute tests:
pytest -v tests/tests.py