All lessons in Machine Learning Engineering: Reliable Predictive Models
Reproduce a Training Decision
Capture the data, split, preprocessing, parameters, seeds, and evidence behind a fitted model.
35 minutes · Members lesson · preview
What you will learn
- List the artifacts a training manifest must record so that a fitted model's validation score and decision threshold can be regenerated by someone else.
- Recompute a baseline log loss, a bootstrap exclusion probability, and a cost-based threshold by hand from manifest values.
- Distinguish software reproducibility (same seed, same output) from statistical evidence about future performance.
Six weeks ago a forest was presented as the best late-delivery model for the parcel carrier's dispatch desk. The slide showed a validation log loss, a decision threshold, and a confident sentence. Today a planner asks why a particular route was flagged, an engineer needs to retrain on fresh rows, and nobody can regenerate the number on the slide. The notebook was edited after the meeting, the CSV was overwritten, and the seed lived in someone's shell history. The model may still be good; the problem is that the decision behind it is no longer checkable.
This lesson is about capturing enough of a training run that the decision can be reproduced and, more importantly, audited. It closes the forest diagnostics chapter because every diagnostic you have computed so far (out-of-bag estimates, permutation importance, calibration curves) is only as trustworthy as the record of how it was produced.