What is cross-validation in supervised learning?

Updated May 17, 2026

Short answer

Cross-validation evaluates models by splitting data into multiple train-test folds.

Deep explanation

K-fold cross-validation divides data into K subsets. Each fold is used as a test set once while the rest are used for training. This reduces variance in evaluation and provides a more reliable estimate of model performance.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Supervised Learning interview questions

View all →