1
Regarding cross validation, I would like to know if when we use the command below the system makes a random choice of data or sequential. I am looking for a way to use the data order to generate the Folds (K=10) and not a random form.
cross_validation = trainControl (method="cv", number=10)
classificador = naiveBayes(x=base[-13], y=base$target, trcontrol=cross_validation)