Cross-validation (source code)

= Cross-validation
{wiki}

Cross-validation estimates predictive performance by repeatedly fitting on one part of the data and evaluating on held-out observations.