Frame
Define the prediction target, horizon, unit and intended decision.
SRAI Book 2 · Chapter 1 · PU-B02-C01
Learn how labelled data becomes defensible prediction evidence through valid evaluation, leakage control, credible baselines, uncertainty and accountable use.
01 / LEARNING OUTCOMES
02 / VALIDATION SEQUENCE
Define the prediction target, horizon, unit and intended decision.
Separate training, validation and test evidence without leakage.
Evaluate learned models against credible operational baselines.
Record uncertainty, limitations, ownership and acceptable use.
03 / CONTROLLED RESULTS
The canonical notebook predicts next-day service demand using a chronological test design and reproducible Python workflow.
A post-outcome feature produces an apparently excellent result, but it is explicitly rejected because it leaks unavailable future information.
| Regression RMSE | 30.876 |
| Seasonal baseline | 40.496 |
| Training-mean baseline | 103.958 |
| Classification ROC AUC | 0.955 |
| Rejected leakage RMSE | 2.048 |
The score alone does not prove that the model will generalize to its intended operational setting.
Valid partitions, credible baselines and leakage controls make the performance claim defensible.
04 / SRAI DECISION STANDARD
CONTROLLED RESOURCES
Controlled publication edition.
PDF ↗ REPRODUCEExecutable and independently verified.
IPYNB ↗ PRACTISEProgress toward independent application.
PDF ↗ REVIEWReview the explained answers and marking guidance.
PDF ↗ APPLYConnect analytical controls to decisions.
PDF ↗