01Chapter 1: Why production models need retrainingA model is trained on a snapshot of the past, but it is used on the present. This chapter explains why the gap between the two grows, how to recognize it, and what an automated retraining pipeline does about it. Later chapters cover each trigger and pipeline stage in detail.5 min read
02Chapter 2: Data drift, label drift, and concept driftThis chapter assumes you know the train, validate, test, deploy workflow and basic NumPy. It also assumes you have seen a model served in batch or online. It does not cover detection statistics. The PSI and KS test come in a later chapter.5 min read
03Chapter 3: The four families of retraining triggersThis chapter assumes you know the train, validate, test, deploy workflow, can read basic Python, and have used CI/CD or a cron-style scheduler. It gives a map of the four trigger families. Later chapters cover each one in detail.5 min read
04Chapter 4: What to monitor: inputs, predictions, and outcomesThis chapter assumes you can train and serve a model, know the difference between batch and online serving, and can read short Python and NumPy. It covers which signals to collect from a deployed model. The later chapters on drift statistics and performance triggers use those signals to decide when 4 min read
05Chapter 5: Schedule-based triggersA schedule-based trigger starts the retraining pipeline on a clock, for example every Monday at 03:00 UTC. It does not look at drift, accuracy, or data volume. This chapter assumes you know how to run a training script, read a cron expression, and use a CI system such as GitHub Actions. Later chapte4 min read
06Chapter 6: Performance triggers and the label delay problemThis chapter assumes you can train, validate, and deploy a model, read basic NumPy and pandas code, and know the difference between batch and online serving. It covers retraining triggered by measured model quality, and why that measurement is often late.6 min read
07Chapter 7: Detecting drift with PSI and the KS testThis chapter assumes you know NumPy basics, what a histogram and a cumulative distribution are, and the data drift idea from earlier chapters: the inputs a model sees in production no longer look like its training data. Here you will turn that idea into two numbers you can compute, and then into a s4 min read
08Chapter 8: Data drift and data volume triggersThis chapter covers two trigger families that react to the data itself: drift triggers, which fire when production inputs stop resembling the training data, and volume triggers, which fire when enough new data has arrived to make retraining worthwhile. It assumes you know the train, validate, test, 6 min read
09Chapter 9: Combining signals into a trigger policyThis chapter assumes you know the four trigger families (schedule, performance, data drift, data volume). It also assumes you can read basic Python and have computed PSI for a feature. Here you will combine those signals into one decision function with explicit rules, so the pipeline retrains for a 4 min read
10Chapter 10: Stages of an automated retraining pipelineA trigger decides when to retrain. The pipeline decides what happens next. This chapter walks through the stages a triggered run passes through, the artifact each stage leaves behind, and the places where a run should stop. It assumes you know the train, validate, test, deploy workflow, can read4 min read
11Chapter 11: Validating data before trainingThis chapter assumes you know the train, validate, test, deploy workflow, can read basic pandas and NumPy, and have seen the retraining triggers from earlier chapters. A trigger has fired and the pipeline has pulled a fresh training set. This chapter covers the next step, which is deciding whether t4 min read
12Chapter 12: Versioning data, code, and models for reproducibilityThis chapter assumes you know the basic train, validate, test, deploy workflow, can read Python, and use Git and a CI/CD system. It covers what a retraining pipeline must record so that any deployed model can be explained and rebuilt.5 min read
13Chapter 13: The evaluation gate: champion versus challengerThis chapter assumes you know the basic train, validate, test workflow, can read short Python and NumPy, and understand that a retraining pipeline produces a new model file after a trigger fires. Earlier chapters covered the triggers and data validation. Here we cover the step that decides whether t5 min read
14Chapter 14: Registering and promoting modelsThis chapter covers what happens after the evaluation gate says a challenger is good enough. You will learn what a model registry stores, how promotion works, and how to avoid common errors. It assumes you know the basic train, validate, test, deploy workflow, can read Python, and have used version 5 min read
15Chapter 15: Safe rollout: shadow, canary, and rollbackA challenger model that passes the evaluation gate has only been tested on historical data. Live traffic can still expose problems: a feature that is computed differently online, a latency spike, or a segment of users the offline set underrepresented. This chapter covers how to expose a promoted mod6 min read
16Chapter 16: Orchestrating the pipelineThis chapter assumes you know the basic ML workflow (train, validate, test, deploy), can read Python, and have used CI/CD. It covers how the stages of a retraining pipeline are wired together and run reliably once a trigger fires. The trigger policy decides whether to retrain. Orchestration decide6 min read
17Chapter 17: Guardrails: cooldowns, budgets, and human approvalThis chapter assumes you know the trigger types and the trigger policy from the earlier chapters. It also assumes you know the pipeline stages: validate, train, evaluate, register, roll out. It also assumes basic Python. Here you add the controls that stop an automated pipeline from hurting you when5 min read
18Chapter 18: Testing and observing the pipeline itselfThe earlier chapters built the parts of an automated retraining pipeline: triggers, a trigger policy, data validation, an evaluation gate, a registry, and a rollout. This chapter covers how to know those parts work and keep working. It assumes you can write pytest tests, read structured logs, and kn3 min read
19Chapter 19: A maturity path from manual to continuous trainingThis chapter ties the earlier ones together as a sequence of stages. It assumes you know the retraining pipeline stages (validate, train, evaluate, register, roll out), the four trigger families, and basic CI/CD. The question here is which capabilities to build first, and when adding the next one is4 min read