I have a data set which is already divided into 10 folds with each fold having training,validation and test sets. I'm not able to understand how to apply 10 fold cross validation on this data set.

In general, if we want to apply k-fold cross validation on a data set, the procedure is as follows

  • shuffle the data set
  • split the data set into k-fold
  • for each unique fold, take it as test set and the rest of the folds as train set. Fit the model and then evaluate the model. This procedure is repeated for all the folds.
  • Take the average of all the models.

In my case, each fold is internally divided into train, test and validation sets. How to apply 10-fold cross validation on this kind of data set?

More Kalyan Katikapalli's questions See All
Similar questions and discussions