- assignment4.ipynb
- app.py
- test_app.py
- Dockerfile
- docker-compose.yml
- requirements.txt
- README.md
- .gitignore
- .dockerignore
- models/
Use Python 3.11.
python -m pip install --upgrade pip setuptools wheel python -m pip install -r requirements.txt
- Run
assignment4.ipynb - Let the notebook download and process the data
- Train the two regression models
- Log the runs in MLflow
- Register the best model
- Save the best model into
models/
uvicorn app:app --reload
pytest -q
mlflow ui --backend-store-uri sqlite:///mlflow.db
docker build -t taxi-tip-api . docker run -p 8000:8000 taxi-tip-api
docker compose up --build
