02Chapter 2: Picking a metric that reflects the goalThis chapter assumes you know supervised learning basics, common metrics such as accuracy, precision, recall and mean absolute error (MAE), and basic scikit-learn. A baseline score only means something relative to a metric, so you must choose the metric before you build or score any baseline.2 min read
03Chapter 3: Splitting data and avoiding leakageThis chapter assumes you know supervised learning basics, can use scikit-learn, and have met the idea of a metric. A baseline score only means something if the data behind it is split honestly. Leakage breaks that, and it makes both your baseline and your candidate model look better than they are.2 min read
04Chapter 4: Trivial baselines: the floor to beatThis chapter assumes you know supervised learning basics, common metrics such as accuracy and mean absolute error (MAE), and scikit-learn. A trivial baseline is a predictor that ignores the input features, or uses almost none of them. It sets the floor: a model that cannot beat it has learned nothin2 min read
05Chapter 5: Simple models as strong baselinesThis chapter assumes you can fit scikit-learn estimators, know the metrics from the previous chapters, and have a held-out split ready. Trivial baselines such as the majority class or the median set the floor. A simple model sets a much harder bar, and it is the one a complex model has to beat to ju2 min read
06Chapter 6: Heuristics and the existing system as baselinesThis chapter assumes you can fit scikit-learn models, know the metric you will report, and have a fixed train/test split. Constant predictors and simple models give you a floor. A heuristic or the system already in production often gives you a harder, more relevant target.2 min read
07Chapter 7: Repeated cross-validation for fair comparisonsThis chapter assumes you know how to split data into training and test sets, how to use scikit-learn estimators, and what a standard deviation is. The previous chapters covered metric choice and leakage.3 min read
08Chapter 8: Telling a real improvement from noiseThis chapter assumes you know how to score a model with cross-validation (CV, which splits the data into folds and rotates which fold is held out). It also assumes you know the mean, standard deviation and standard error, and basic scikit-learn use. The previous chapters covered baselines and the sp2 min read
09Chapter 9: Comparing a candidate to the baselineThis chapter assumes you can fit scikit-learn models, know accuracy, balanced accuracy and mean absolute error, and understand standard deviation and standard error. It also assumes you have already chosen a metric and built a trivial baseline in earlier chapters.3 min read
10Chapter 10: Estimating the ceiling: human level and irreducible errorThis chapter assumes you can train and score a scikit-learn model and know the difference between a metric on training data and on held-out data. A baseline gives you a floor. A ceiling gives you the other bound: the best score any model could plausibly reach on this task. The gap between the two sh3 min read
11Chapter 11: Looking at errors and slices, not only averagesThis chapter assumes you can train a scikit-learn model, compute a metric on a held-out split, and use pandas groupby. Earlier chapters showed how to compare a candidate with a baseline using one overall score. An overall score can hide the places where a model fails.3 min read
12Chapter 12: Weighing gains against cost and complexityThis chapter assumes you can already compare a candidate model with a baseline on the same splits, and that you know the baseline's score and its noise level. Here you decide whether a measured gain justifies what the better model costs to build and run.2 min read
13Chapter 13: Deciding when a model is good enoughThis chapter assumes you can fit scikit-learn models, know accuracy, recall and mean absolute error, and understand standard error. It also assumes you have already built a baseline and scored it with a fixed metric on fixed splits.2 min read
14Chapter 14: Revisiting baselines after deploymentThis chapter assumes you can build a baseline and compare it to a candidate model on held-out data. It also assumes you know the good-enough criteria from the previous chapters: a metric, a minimum useful gain over the baseline, and a cost limit. Here you apply them again after the model is live.3 min read