Open Agent School · Public worked example

Cross-validation: meaning and example

Welcome! Take one idea with you today.

Estimating model performance using repeated training and validation on different partitions of available data.

Picture it: In five-fold validation, train on four parts and validate on the remaining part, rotating which part is held out.

What is easy to mix up?

Split related people, events or time periods appropriately; random folds can leak information.

Teaching example by Open Agent School. Source: Google - Machine Learning Glossary.