Data for machine learning · Question 40 of 60
How does k-fold cross-validation work?
1 answer is correct. Medium
Show answer
Answer
- C Split data into k parts, train k times, check on one part each time
Explanation
In k-fold cross-validation, the data is split into k equally sized parts (folds). Training runs k times, each time on all parts except one, and the left-out part is used for checking. This way, each part is used for checking exactly once. The average of the k results estimates generalization more reliably than a single split.