Gradient LabSign up free

ML glossary › Cross-validation

What is cross-validation in machine learning?

Testing a model several times, each time holding out a different slice of the data.

Where it shows up

Generalization

Cross-validation

cross-validation cuts the data into equal slices called folds. Here there are 5, shown in different colors.

See cross-validation in motion. The lesson animates it step by step, free.

Open the lesson

Related terms