QUESTION 2 OF 10

How does k-fold cross-validation work?

Reveal the answer and explore the explanation.

02
EasyCoreVisual

How does k-fold cross-validation work?

Answer
Answer

Divide data into k folds; train on k minus one and evaluate on the held-out fold in turn.

Practical example

Run five validation fits on a modest independent dataset.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As