powered by
This function splits the original data in two new data sets: a train set and a test set.
generateLv(data, fold)
A list structure with the train and the test set.
list
Data to be split into train and test subsets.
Parts in which the original set is divided, to perform Cross-Validation.