View source: R/dataPartitioning.R
This function returns information on how to partition (randomly or paired) y_data importFrom magrittr "
1 2 | dataPartitioning(data_object, partition_style = "random", folds = 4,
repeats = 100, holdout_perc = 0.25)
|
data_object |
argument is the output produced by as.MLinput, which contains a single x data frame or a list of x data frames, a y data frames and attributes |
partition_style |
one of 'random' or 'paired' (character string) indicating type of partition |
folds |
integer of k for k-fold cross validation |
repeats |
integer of number of iterations to repeat cross validation |
holdout_perc |
numeric between 0 and 1 indicating the percentage of data to withold for the holdout validation set |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.