ML Monitoring & Drift
Monitor deployed models for data quality, drift and performance decay, alert on meaningful changes, and decide when to retrain or roll back.
4 objectives 6 steps about 130 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Log inputs, predictions, model version and latency for each request in a privacy-aware way, and join predictions with ground-truth labels that arrive later.
- Detect data drift and prediction drift with statistical tests or distances (PSI, Kolmogorov-Smirnov, Jensen-Shannon) and distinguish them from concept drift.
- Track model performance over time, using proxy metrics while labels are delayed, and set alert thresholds that balance false alarms against missed incidents.
- Write a runbook that maps each monitoring signal to an action (investigate, retrain, roll back or accept) with a named owner.
Lesson plan
6 steps, about 130 min · 5 of 5 lessons available so far
- How Models Fail Silently in Production Concept · 20 min
- Logging Predictions and Joining Late Labels Concept · 20 min
- Lab: Measuring Drift on Shifted Data Lab · 30 min
- Worked Example: Alert Thresholds Nobody Mutes Worked example · 20 min
- Lab: From Alert to Action with a Runbook Lab · 25 min
- Check: Diagnose the Dashboard Knowledge check · 8 questions
Practise it
Instrument a served model to log predictions, replay a month of traffic with an injected covariate shift and a label shift, build drift and performance reports with alert thresholds, and write a runbook entry telling the on-call engineer what to do for each alert. Inject one distribution shift that leaves predictive performance stable and one that degrades it; the runbook must not automatically promote a retrained model solely because a drift statistic crossed its threshold.
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.