Cross-validation evaluates how well a model predicts data withheld from training. It therefore answers a predictive question rather than merely asking how closely the model fits its training data. section 2.3.4
Use cross-validation to distinguish predictive performance from training-data fit:
- Goodness-of-fit measures how well a model represents the data used for training. section 2.3.4
- Cross-validation measures prediction on data the model did not train on, which better matches machine-learning prediction goals. section 2.3.4
- Strong held-out prediction does not establish that the model’s causal inferences are correct. section 2.3.4
Fit versus generalization
A model can have better goodness-of-fit than competing models while predicting withheld data poorly; cross-validation exposes that difference. section 2.3.4











