01Chapter 1: Why production models need retrainingThis chapter assumes you understand the basic machine learning workflow: training a model, validating it, testing it, and deploying it to serve predictions. You should also know that a model learns patterns from historical data and that production data arrives later under different conditions.2 min read
02Chapter 2: Data drift, label drift, and concept driftAssume you know the basic machine learning workflow: train a model, validate it, test it, and deploy it. You should also understand features, labels, and batch or online serving. This chapter explains how production data can change and why different changes require different retraining decisions.2 min read
03Chapter 3: The four families of retraining triggersAssume you know the basic machine learning workflow: train a model, validate it, test it, and deploy it. You should also understand batch or online serving, Python basics, and the role of version control in CI/CD.2 min read
04Chapter 4: What to monitor: inputs, predictions, and outcomesAssume you already understand training, validation, deployment, batch or online serving, and basic Python and NumPy. This chapter focuses on the signals that tell you when a deployed model may need retraining.2 min read
05Chapter 5: Schedule-based triggersAssume you understand the basic model lifecycle: training, validation, testing, and deployment. This chapter focuses on one question: when should an automated pipeline start retraining because time has passed?2 min read
07Chapter 7: Detecting drift with PSI and the KS testAssume you know how to train and deploy a model, use NumPy, and compare validation metrics. This chapter focuses on detecting changes in numeric input features. Drift detection produces a signal for a retraining policy. It does not, by itself, prove that the model has become inaccurate.2 min read
08Chapter 8: Data drift and data volume triggersAssume you know how to train, validate, and deploy a model, and that you are familiar with Python, NumPy, batch or online serving, and basic version control. This chapter shows how changes in production data can signal that retraining is needed.1 min read
09Chapter 9: Combining signals into a trigger policyAssume you know how to train, validate, and deploy a model. You also know basic Python, NumPy, batch or online serving, and version control. This chapter focuses on deciding when a signal is strong enough to start retraining.2 min read
10Chapter 10: Stages of an automated retraining pipelineAssume you know the basic machine learning workflow: training, validation, testing, and deployment. You should also be comfortable with Python, NumPy, batch or online serving, version control, and CI/CD. This chapter follows what happens after a retraining trigger fires.2 min read
11Chapter 11: Validating data before trainingAssume you know the basic machine learning workflow: data is used to train a model, validation data measures its quality, and a deployed model serves predictions. You should also be comfortable with Python, pandas, and basic version control.1 min read
12Chapter 12: Versioning data, code, and models for reproducibilityAssume you know the basic train–validate–test workflow, Python and NumPy, batch or online serving, and version control. This chapter focuses on lineage: recording which data, code, configuration, and environment produced each model.1 min read
13Chapter 13: The evaluation gate: champion versus challengerAssume you know how to split data into training and validation sets, calculate evaluation metrics, and deploy a model behind a service. This chapter focuses on the decision that happens after retraining: whether a newly trained model should replace the production model.2 min read
14Chapter 14: Registering and promoting modelsPrerequisites: you should understand training, validation, deployment, version control, and the champion-challenger evaluation pattern.2 min read
15Chapter 15: Safe rollout: shadow, canary, and rollbackAssume you know how to train, evaluate, and deploy a model, and that a serving system can route requests to more than one model version. This chapter focuses on reducing risk after the evaluation gate approves a challenger.2 min read
16Chapter 16: Orchestrating the pipelineAssume you know the basic machine learning workflow, Python, batch or online serving, and CI/CD. Orchestration is the system that starts pipeline tasks, orders them, passes artifacts between them, retries safe failures, and records each run.2 min read
17Chapter 17: Guardrails: cooldowns, budgets, and human approvalThis chapter assumes you understand training, validation, deployment, batch or online serving, Python, and basic CI/CD. The focus here is controlling an automated retraining system after a trigger fires.2 min read
18Chapter 18: Testing and observing the pipeline itselfAssume you know the basic stages of machine learning: data preparation, training, evaluation, and deployment. This chapter focuses on testing the pipeline as software and observing it while it runs.2 min read