AI Glossary/Cross-Validation
Machine Learning

Cross-Validation

A technique to evaluate model performance by training and testing on different subsets of data.

In-depth explanation

Cross-validation splits data into multiple folds, trains on some folds and tests on others, then averages results. K-fold cross-validation divides data into k parts, using each as a test set once. This provides a more reliable estimate of model performance than a single train-test split, especially with limited data.

Examples

5-fold cross-validation
Leave-one-out cross-validation

Master Cross-Validation.

Learn how to apply this concept with hands-on projects in our comprehensive AI programs.