Three partitions, three jobs
How separate historical-data partitions support parameter learning, model selection, and independent final evaluation without leaking information between stages. · foundational
A train-validation-test split divides historical data into separate sets, called partitions. In supervised learning, each example has inputs and a known answer, or label. Separating examples helps distinguish learning from checking how well that learning works on unseen data.
The training set supplies examples used to learn model parameters, such as neural network weights. The validation set guides development choices, such as which model or settings to use. The test set measures the selected model after those choices are complete.
A model can perform well on examples it learned from without performing well on new examples. This is why a training score alone is not enough: separate evaluation data checks generalization, meaning performance on unseen examples.
| Partition | Main role | What it influences |
|---|---|---|
| Training | Learn from examples | Model parameters |
| Validation | Compare development choices | Model selection |
| Test | Evaluate selected model | Final performance estimate |