This is similar to question Caret re-sampling methods, although that really never answered this part of the question in an agreed upon way.
caret's train function offers cv
and repeatedcv
. What is the difference in say doing:
MyTrainControl=trainControl(
method = "cv",
number=5,
repeats=5
)
vs
MyTrainControl=trainControl(
method = "repeatedcv",
number=5,
repeats=5
)
I understand cv
breaks the set into k-folds (parameter number
), and then starts over and runs it parameters repeats
number of times.
The only thing I could think of is that maybe regular cv
with repeats
uses the same exact indexes for the folds each time? essentially running the cv
on the same exact folds each time, vs perhaps repeatedcv
selects new folds each times?
Can someone clarify?
Control()
syntax in R) for each of the k cross fold (given by number). In cross fold, while using CV, it is a one time process on each of the fold (set by using numbers in traincontrol()
). $\endgroup$