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.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications