MLOps roadmap: what to learn, in what order
The skills behind running machine learning models like reliable software, from a first trained model to a pipeline that retrains and promotes safely.
MLOps applies DevOps habits to machine learning: version everything, automate the steps, test before release, watch it in use, and make rollback easy. The difference from ordinary software is that a model depends on data as much as code, and it can get worse without anyone changing anything, because the world changes.
Learn it in layers. First the lifecycle: data, training, testing, a saved model. Then traceability: experiment tracking and data versions. Then release control: quality gates, a registry, champion and challenger. Then serving: batch and online. Then watching it: drift checks and retraining. Finally automation: pipelines in CI and in the cloud.
You don't need to be a data scientist. Most MLOps work is the DevOps part: pipelines, registries, deployments, monitoring and access control around models someone else designs.
Cost. Everything except one optional Azure task runs free on your own computer with Python, scikit-learn and MLflow.
Use it when
- your team has a model on a laptop and wants it in production.
- you look after platforms that data scientists use.
- you're preparing for a platform, SRE or ML engineering role.
How it works
- Lifecycle
- Data, split, train, evaluate, save.
- Traceability
- Tracked runs, data fingerprints, lineage.
- Release control
- Quality gates, registry, champion and challenger.
- Serving
- Batch jobs and online endpoints.
- Watching
- Drift checks, retraining, rollback, pipelines.
Options
- MLflow on your own computer
- Free, quick to learn, the same ideas as the cloud tools.
- Azure Machine Learning
- Managed compute, registry and endpoints; pay per use.
- Other platforms
- Vertex AI, SageMaker, Databricks: the same ideas, different names.
Example. A platform engineer at Fernhill Cloud followed this track in three weeks. By the end the team's ticket-routing model had tracked runs, a registry with a champion, a nightly batch and a drift check, and a rollback took one command.
Don't confuse it with
- DevOps
- Code changes are the main reason software changes.
- MLOps
- Code, data and the world can all change a model's behaviour.
Words to know
- MLOps
- DevOps practices applied to machine learning models and their data.
- Model
- A function learnt from examples.
- Pipeline
- Automated stages from data to a model in use.
Where to look
- This guide's MLOps in depth section
Practise it
- Train, test and save a first modelHow-to, Free
- Track experiments with MLflowHow-to, Free
- Register models and promote with aliasesHow-to, Free
- Spot drift in the data a model seesHow-to, Free
- Final project: a pipeline from data to scored ordersHow-to, Free
Read it in the guide, next to the tasks and labs.
Open in DevOps, Hands On