Role-based roadmap
Machine Learning Engineer
Turn a dataset into a tested model and a dependable prediction service.
Open a step for a lesson, practice and completion checks. Lessons are free to read; API and cloud exercises may incur provider charges. Use sample data and mock responses while learning.
Step 1Prepare data you can trust
Model quality starts with the definition and quality of the data.
Learn
- Data types and missing values
- Labels and sampling
- Train, validation and test splits
- Data leakage
Lesson: scikit-learn: prevent data leakage ↗
Put it into practice
Audit a public tabular dataset. Write a data dictionary and split it before choosing transformations that learn from the data.
You’re done when
- Document fields, missing values and how the labels were collected.
- Split the data before fitting transformations; demonstrate that test data stays out of training.
Step 2Establish a simple baseline
A baseline tells you whether a more complex model is actually useful.
Learn
- Regression and classification
- Linear models and trees
- Class imbalance
- Metrics tied to the task
Lesson: scikit-learn: fit and evaluate a model ↗
Put it into practice
Compare a constant baseline with two simple models. Explain the cost of false positives and false negatives for your chosen use case.
You’re done when
- Report the same task-relevant metric for a constant baseline and two models.
- Explain which error type costs more and show its effect on your choice.
Step 3Make experiments reproducible
You need to explain what changed and reproduce a result later.
Learn
- Feature pipelines
- Cross-validation
- Parameter search
- Versioned data and artifacts
Lesson: MLflow: track experiments and artifacts ↗
Put it into practice
Save the split, preprocessing, configuration and model together. Re-run the experiment from a fresh environment and compare results.
You’re done when
- Save preprocessing, configuration, data split and model artifacts together.
- A fresh environment can reproduce your reported score within a stated tolerance.
Step 4Serve and test predictions
A prediction endpoint must handle real requests as well as notebook examples.
Learn
- Input validation
- Batch versus online inference
- Model loading
- Integration and load tests
Lesson: FastAPI: validate request bodies ↗
Put it into practice
Expose your model through an API. Test missing fields, unexpected categories and concurrent requests; record latency and error rates.
You’re done when
- Valid input returns a prediction and malformed input returns a clear validation error.
- Record results for missing fields, unfamiliar categories and concurrent requests.
Step 5Monitor performance after launch
Production data and user behaviour can change after the model is trained.
Learn
- Data drift
- Delayed outcome labels
- Performance by segment
- Retraining and rollback criteria
Lesson: Google: monitor production ML pipelines ↗
Put it into practice
Write a monitoring plan with owners, thresholds and a rollback procedure. Demonstrate how one bad data batch is detected.
You’re done when
- Name monitoring owners, alert thresholds and a rollback procedure.
- A deliberately bad batch triggers the expected check.
Build, review, repeat
A reproducible model pipeline, evaluation report and monitored prediction endpoint.
- Run your work against the completion criteria, including the failure cases.
- Ask someone else to follow your instructions and review the evidence.
- Record what still needs work and uncheck any steps you want to revisit.
Progress is your own checklist, not an assessment or certification.
Choose your next roadmap →