This project is a part of the Udacity Machine Learning DevOps Engineer Nanodegree.
The key objectives of this project is to apply best practices when it comes to deploying machine learning models.
- Quality control using
pytest
. - CI/CD using
GitHub
. - Model API deployment using
FastAPI
. - Documentation in the style of Model Cards.
Use Python 3.8+.
To install required packages, use the shell command:
pip install -r requirements.txt
I used pytest
to perform unittests. Run the tests by using the shell command:
pytest
The above two are automatically run on "push" to GitHub.
Spint up a local API using the shell command:
python -m main
This app is deployed on Heroku at https://udacitymldevops.herokuapp.com/.
The endpoint can be tested by the command:
python -m heroku_api_request