Option to enable treatment of partitions as cross-validation test folds
r
A vector of percentages of instances to be selected for each partition
seed
The seed to initialize the random number generator. By default is 10. Change it if you want to obtain partitions containing
different samples, for instance to use a 2x5 fcv strategy
get.indices
A logical value indicating whether to return lists of indices or lists of "mldr" objects
Value
An mldr.folds object. This is a list containing k elements, one for each fold. Each element is made up
of two mldr objects, called train and test