internalsGet Pro

Machine Learning Engineering · Module 15

Monitoring and retraining

Lessons
12
Free
0
Reading
~4 h

Your progress

0 / 12 lessons done

Sign in to track

Lessons

  1. Monitoring ML in production: what to watchA broken model rarely crashes. It keeps answering fast, with wrong answers, until someone looks at sales. Knowing what to watch, and what should wake someone, decides whether a bad feature costs an hour or a weekend.16 min
  2. Data drift and concept driftEvery model in production meets a world that keeps changing. Knowing whether the inputs moved or their meaning moved decides whether you can ignore an alarm, retrain, or need a new feature, and how long the damage runs before anyone notices.17 min
  3. Detecting drift with statistical testsEvery model in production needs an alarm for inputs that have moved. Built on p-values alone, that alarm fires every night at real traffic, and people learn to ignore it. Measuring how far a distribution moved is what makes the alarm worth answering.17 min
  4. Case: Uber’s automatic drift checks on key datasetsMost models read tables their own team doesn’t own. When one of those tables goes partly wrong without failing, nothing alerts. Uber wrote down how it checks hundreds of key tables for exactly that, with almost no work from their owners.16 min
  5. Monitoring models before labels arriveFraud, churn, credit and forecast models all learn whether they were right weeks or months after they act. The monitoring you build for that gap decides whether a broken model costs a day or a quarter.18 min
  6. Feedback loops and delayed labelsMost production models learn from outcomes that arrive late or that the model itself shaped. A pipeline that ignores either quietly trains the next model on wrong answers, and nothing on the dashboard turns red.18 min
  7. Retraining: on a schedule or on a triggerEvery model in production is retrained sooner or later. Retrain too rarely and it quietly goes stale; retrain on the wrong signal or the wrong rows and you pay for a run that teaches the model nothing, or the wrong thing.17 min
  8. Online learning: updating models continuouslySome models go stale within hours, and a daily retrain can’t keep up. Updating them as labels arrive fixes that, but it turns training into a live system that can forget, be poisoned or drift with no version to roll back to.17 min
  9. Incident response for ML systemsWhen a model goes wrong, nothing crashes and the usual first move, a rollback, often changes nothing. Knowing where to look first and which lever to pull decides whether a bad input costs a thousand orders or a weekend, and whether it quietly poisons tomorrow’s model too.16 min
  10. ML platforms: open-source and managed optionsOnce a company runs more than one or two models, most ML engineering time goes into the parts around the models. Choosing which of those parts to run, rent or build decides how fast the next model ships and how hard it is to change course later.16 min
  11. Case: Zalando’s weekly demand forecasts for 5M itemsForecasts that order stock are judged weeks later, by the sales they helped cause. Zalando wrote down how it runs one such system for millions of items, with a new model every week; the questions it leaves open are the ones you will face with your own.16 min
  12. Design: a retraining pipeline for demand forecastsA forecast that orders stock is judged a week later, by sales it helped cause. A weekly retrain that learns from sold-out weeks or from a broken column quietly orders less of what customers want. The gate between training and Monday’s order is what keeps an automatic retrain safe.28 min

Practise with

No tools or paper guides for this module yet.

Terms this module teaches 2

Open glossary

Data drift

A change over time in the data a model receives, compared with the data it was trained on. It often makes a model’s predictions worse with no code change.