Suppose we have 3 models M1, M2, M3
. We want to compare the performance of these models using 10 fold, 10 repeated cross-validation on a train set.
What is the difference between:
CV_Folds <- createMultiFolds(y, k = 10, times = 10)
fitControl <- trainControl(method='repeatedCV',index=CV_Folds))
and
fitControl <- trainControl(method= "repeatedcv", number=10, repeats=10)