I have the trainControl function as follows:
fitControl <- trainControl(method = "repeatedcv",
number = 5,
repeats = 5,
savePredictions = TRUE,
classProbs = TRUE,
summaryFunction = twoClassSummary,
search = "random")
Considering that I have a dataset of 150 samples that have approx 40 features, which values of number and repeats should I choose to make the training more strict?
Also, considering that my samples have a high variation (the groups tested has patterns, but the measurements vary a lot for each sample), is it better or worse to do a more strict training?