10.2 A defensible modelling workflow
- Define the question, target, unit, and prediction time.
- Create an eligible analytical population.
- Separate training and final evaluation data.
- Develop preprocessing using training data only.
- Establish a simple baseline.
- Fit and tune candidate models using appropriate resampling.
- Compare metrics linked to the decision.
- Evaluate the selected model on untouched data.
- Inspect errors and subgroup performance.
- Document interpretation, limitations, monitoring, and implementation.
For time-dependent data, random splitting may allow future information to influence the past. For repeated observations from the same member, site, or event, group-based splitting may be required to prevent the same entity from appearing in both training and evaluation sets.