You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trained baseline regression and tuned regression models from (COMP3610-Assignment2) downloaded, as well, the scaler and feature columns from the same assignment (in models/ folder)
A working Jupyter notebook environment
Setup Instructions
Clone and run (COMP3610-Assignment2). .pkl files for the required models, scaler and feature columns will be generated in the models/ folder
Clone this repository
Place the generated .pkl files from COMP3610-Assignment2 in a models folder in this project
Running the Project
Run the command pip install -r requirements.txt
Run the cells in the Prerequisite section
Run the command mlflow ui --port 5000 and open http://localhost:5000 to view the MLflow dashboard
Run the cells in Part 1: Model Tracking with MLflow
For Part 2: Model Serving with FastAPI run the app using uvicorn app:app --reload --port 8000. Visit http://localhost:8000 to see the JSON response. Visit http://localhost:8000/docs to see the auto-generated Swagger UI
To run the docker container (ensuring you have Docker Desktop installed and running, the models/ folder, and port 8001 free), run the command docker compose up -d --build
To stop the container, run the command docker compose down