Cross-validation (k-fold)
Also written: k-fold cross-validation, cross-validated, KFold, folds
A way to compare models using only the training rows: split them into k folds, fit on k−1, measure error on the fold left out, repeat for each fold and average. It estimates prediction error without touching the test set.
Where the book teaches it
Related terms
Training setTest setOverfittingRMSE (root mean squared error)