Project includes
- Data analysis, visualization and ML model building as a Jupyter notebook.
- Training file that pickles the ML model.
- FastAPI backend with user interface which accepts vehicle parameters and predicts a price.
docker build -t vehicle-ml-build .
docker run -d -p 80:80 --name vehicle-api vehicle-ml-build
curl -X POST "http://127.0.0.1/predict_endpoint" -H\
"accept: application/json"\
-H "Content-Type: application/json"\
-d "{\"data\":[...insert data here...]}"