01Chapter 1: Two paths to the same model: training and servingA deployed machine learning model usually uses two data paths. The training path prepares historical examples and fits the model. The serving path prepares new input and asks the model for a prediction. Both paths should create the same features in the same way.2 min read
02Chapter 2: What training-serving skew is and why it fails silentlyThis chapter assumes basic Python and pandas, familiarity with training and validating a supervised machine-learning model, and a general idea of serving predictions through an API or batch job. You should also know what a mean, histogram, and distribution are.2 min read
03Chapter 3: Skew, data drift, and concept drift: how they differAssume you know basic Python and pandas, understand supervised learning, and have seen a model deployed through an API or batch job. You should also be comfortable with means, histograms, and simple distributions.2 min read
04Chapter 4: Cause 1: the same feature written twiceAssume you know basic Python, pandas, and the train-validate-predict workflow. You should also know that a feature is an input value calculated from raw data.2 min read
07Chapter 7: Cause 4: time leakage and point-in-time correctnessAssume you know basic Python and pandas, understand supervised learning, and have seen how a model is deployed for batch or API predictions. This chapter focuses on one question: could a training feature use information that would not have been available when the prediction was made?2 min read
08Chapter 8: Prevention: one transformation, used in both pathsAssume you know basic Python and pandas, understand supervised learning, and have seen a model deployed behind an API or batch job. The goal is to make training and serving apply the same feature transformation.1 min read
10Chapter 10: Prevention: feature stores and a single feature definitionThis chapter assumes basic Python and pandas, a supervised machine-learning workflow, and a general understanding of batch jobs and model APIs. You should also know what a feature is: a model input such as orders_7d or customer_age.2 min read
11Chapter 11: Prevention: validate inputs at serving timeAssume you know basic Python and pandas, have trained a supervised model, and understand how an API or batch job calls a model. This chapter focuses on validating the data that reaches the model. Validation does not replace shared feature logic, but it prevents many source, schema, and missing-value2 min read
12Chapter 12: Testing offline and online parityThis chapter assumes basic Python and pandas, a supervised machine-learning workflow, and a model that runs in a batch job or API. You should also understand missing values and simple aggregations.2 min read
13Chapter 13: Detection: log the features the model actually receivedAssume you know basic Python and pandas, understand training and prediction, and have seen a model deployed behind an API or batch job. This chapter focuses on detection: recording the feature values that reach the model in production.2 min read
15Chapter 15: Shadow deployments and canary releasesAssume you know how a model is trained and served through an API or batch job. This chapter focuses on safely testing a feature-pipeline change that might introduce training-serving skew.2 min read
16Chapter 16: Responding to skew: triage, rollback, fix, retrainAssume you know basic Python, pandas, supervised learning, and how a model is deployed behind an API or batch job. This chapter focuses on what to do after monitoring shows a difference between training features and serving features.2 min read