
Answer-first summary for fast verification
Answer: 5 models
In 5-fold cross-validation, the dataset is divided into 5 equal parts or 'folds'. The model is trained on 4 folds and validated on the remaining fold. This process is repeated 5 times, with each fold being used as the validation set once. So, a total of 5 models will be trained during the cross-validation process.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are working on a machine learning project and have decided to use cross-validation as part of your model fitting process. You have a dataset with 1000 samples and want to perform 5-fold cross-validation. How many models will be trained during the cross-validation process?
A
5 models
B
10 models
C
20 models
D
1000 models