MLOps: Shipping ML Models · Lesson 1 of 14 · 2 min read · 5 min video
What MLOps is and why models fail after launch
Why most models never reach users, and the lifecycle that gets them there.
📄 Download slides (PDF)You trained a model in a notebook and it scored 92%. Six months later it still isn't helping a single user, or it went live and quietly got worse. That gap is what MLOps closes: the practices that get a model into production and keep it working there.
Why models stall
- It only runs on one laptop: missing packages, hard-coded file paths, "run cells 3, 7 and then 5"
- Nobody can reproduce it: which data, which code and which settings made the 92% model?
- No way to serve it: a notebook can't answer requests from an app
- No one is watching: once live, nobody notices when accuracy drops
Why models decay after launch
Software stays correct until you change it. Models get worse on their own, because the world changes:
- A Vizag food-delivery model trained before monsoon season sees different order patterns in July
- New products, new customers and new fraud tricks appear that weren't in the training data
The MLOps lifecycle
- Data: collect, validate and version it
- Train: in reproducible, tracked experiments
- Package: the model and its environment together
- Deploy: as an API or batch job, automatically
- Monitor: speed, errors and prediction quality
- Retrain: when monitoring says the world has moved, then repeat
DevOps plus data
MLOps borrows DevOps ideas, like version control, CI/CD and containers, and adds what's special to ML: data versioning, experiment tracking and drift monitoring. A model is code plus data plus settings, and all three have to be managed.
In one line
MLOps is the set of practices that take a model from a notebook to a reliable, monitored service, and keep it accurate as the world changes.
Share with a friend