A data scientist answers a question with a model. A machine learning engineer makes sure the model keeps answering it correctly, every day, on data nobody has seen yet. This guide covers what that involves, the order to learn it in and a project for each stage. It is the outline of AcademAI’s Machine Learning Engineer path.

What changes in production

A model in a notebook only has to be good once. A model in production has to be good repeatedly, on new data, inside a system other people depend on. That moves most of the work outside the model itself.

The paper Hidden Technical Debt in Machine Learning Systems (Sculley and colleagues, NeurIPS 2015) argues that the quick wins of machine learning are not free: real-world ML systems commonly incur large ongoing maintenance costs. The risk factors it names are a good map of the job: boundary erosion, entanglement, hidden feedback loops, undeclared consumers, data dependencies, configuration issues, changes in the external world, and system-level anti-patterns.

Before you start

You should be comfortable training and evaluating a model in Python, roughly the level of Module 6 of the Data Analyst to Data Scientist path. Software habits help a lot: version control, writing functions instead of notebook cells, and reading error messages calmly. Not sure where you stand? Take the skills check.

Module 1: Validation, leakage and baselines

Everything later depends on measuring honestly. Learn how to split data so the test set resembles the future (by time, when the future is what you predict), and how to compare every model with a simple baseline.

The most expensive mistake is data leakage. scikit-learn’s guide defines it as using information that would not be available at prediction time when building the model, which makes performance estimates overly optimistic. Fitting a scaler on all the data before splitting is the classic example.

Project: take a model you’ve built before, find one source of leakage or one unfair split, fix it, and report how much the score changes.

Start the lesson: Module 1: Validation, Leakage and Baselines, three experiments you can run in seconds.

Module 2: Features and pipelines

Features are where most of a model’s value comes from, and where most production bugs hide. Learn to build preprocessing and model as one pipeline object, so the exact same steps run in training and in production. scikit-learn’s guide warns against inconsistent preprocessing for this reason.

Project: rebuild a notebook model as a single scikit-learn pipeline that loads raw data, transforms it and predicts, with no manual steps.

Module 3: Model families you’ll actually use

Learn linear and logistic models well, then tree ensembles (random forests and gradient boosting), which are widely used on tabular data, and enough neural-network fundamentals to know when they are worth their cost. Google’s Rules of Machine Learning put it bluntly in Rule #4: “Keep the first model simple and get the infrastructure right.”

Project: compare a linear model, a gradient-boosted model and a baseline on the same split, and write down why you would ship the one you choose, including its cost to run.

Module 4: Packaging and serving

A model is only useful once something calls it. Learn to save a trained pipeline with its version, serve it behind a small API or run it as a scheduled batch job, and choose between the two by how fresh predictions need to be.

The failure to design against here is training-serving skew: the model sees different data in production than in training. The Rules of Machine Learning suggest, in Rule #29, saving the features used at serving time and logging them so they can be used for training.

Project: serve your Module 2 pipeline behind a small HTTP endpoint, log every request’s inputs and prediction, and write a test that sends a known input and checks the output.

Module 5: Monitoring, drift and retraining

Models degrade quietly when the world changes: new customers, new products, a changed upstream field. Learn to monitor three things: the inputs (are distributions shifting?), the outputs (are prediction rates changing?), and, when labels arrive, the actual accuracy. Decide in advance what triggers a retrain.

Project: simulate a shift in one input feature, show that your monitoring catches it, and retrain with a documented decision rule.

Module 6: Reproducibility and experiment tracking

Six months from now, someone will ask which data, code and settings produced the model in production. Learn to record them for every training run, pin library versions, and make a training run repeatable from a single command.

Project: make your project reproducible end to end: one command that rebuilds the dataset, trains, evaluates against the baseline and records the run.

Where to start

Rule #1 of Google’s guide is “Don’t be afraid to launch a product without machine learning”, and Rule #2 is to design and implement metrics first. Both are good advice for learners too: before any model, be clear about what you’re measuring and what a simple non-ML approach would achieve.

For hands-on practice today, the evaluation stage of the AI Engineer path covers test sets, graders and regression checks that carry over directly to ML systems. Join the newsletter below to get each new lesson in this path by email.

Prepared with AI assistance and reviewed by an editor before publication. Editorial & AI policy.