The Core MLOps Principles
Today the Tunebox churn model is retrained once a month by one person on their laptop, and the resulting file is emailed to the ops team. It works — until that person is on holiday, or their laptop has a newer library, or someone asks "which data made the model we shipped in March?" MLOps principles exist to make those questions boring.
The rule
Version everything, automate the repeats, test the data, watch the result.
Each part of the rule is one principle:
- Version everything. Code, data, parameters, environment and the model file itself all get a version, and they are linked. Given any model, you can say exactly what produced it — and rebuild it. This is reproducibility.
- Automate the repeats. Anything done more than twice — fetching data, training, evaluating, deploying — becomes a script or pipeline that a machine runs. Humans make decisions; machines do rituals.
- Test the data (and the model), not just the code. A test can check that the training table has no negative
skips_per_week, or that a new model's recall is not worse than the current one's. - Watch the result. After release, monitor inputs, predictions and outcomes, because a model can decay while its code stays perfect.
Teams usually adopt these in stages. At the start everything is manual. The next step is an automated training pipeline, so retraining is one command or a schedule — often called continuous training. After that, changes to the pipeline itself go through CI/CD, so improving the training code is as safe as improving any other software.