Holdout Data and Overfitting in Scientific Models
Explain why models should be evaluated on unused data. Distinguish fitting performance from predictive performance.
5 min · Scientific Practices · Foundations
Learning goals
- Explain why models should be evaluated on unused data.
- Distinguish fitting performance from predictive performance.
Understand the concept
A model is fitted using data to estimate parameters or choose relationships. Overfitting occurs when a model learns patterns specific to the fitting data, including random noise, rather than relationships that generalize. A model can fit known observations closely and still predict new observations poorly.
A holdout dataset is kept separate from fitting and model selection to estimate performance on new data. The split should respect the scientific structure of the data, such as time order or repeated measurements from one site. Repeatedly adjusting a model using the holdout results undermines its independence.
A fictional model has mean absolute error 1 on training data and 8 on holdout data, while a simpler model has errors 3 and 4.
The simpler model performs better on this holdout dataset, although additional validation is needed before broad conclusions.
Check your understanding
UNVRST English edition · Educational support · Editorial policy