Lesson 11 of 11
Reproducibility and MLOps
In plain words: Make every result repeatable: same data + same code + same settings = same model.
- Version your code (Git), your data (dated folders or DVC) and your models (a model registry).
- Log every experiment: parameters, metrics, and the data version used (MLflow or your cloud’s tracker).
- Pin package versions in requirements.txt.
- Automate retraining with a pipeline once the model is in production — that’s MLOps.
Tip If you can’t reproduce last week’s model, you can’t safely improve it.
See it in a real project
- How to build a spam filter, start to finish: saving, serving and retraining the model
- How to detect fraudulent transactions: late labels, and retraining as fraud changes
- How to sort customer reviews by sentiment: checking a weekly trend against fresh star ratings
- How to route support tickets to the right team: re-routes as live labels, and retraining when teams change
- How to forecast call volume and plan staffing: a new forecast every week, with outages left out
- How to flag unusual expense claims: review outcomes as labels, and a monthly run
- How to forecast daily sales for each store: a weekly forecasting job
- How to find defective products in photos: watching the reject rate and retraining
- How to spot failing machines from sensor data: an hourly check, and relearning normal after repairs
- How to forecast inventory demand and set reorder points: a daily reorder list, and safety stock recomputed every month