make_xfold | R Documentation |
make training/test splits
make_xfold(dat, k = 10, nested = FALSE, times = 1, transpose = TRUE, seed = 10)
dat |
data.table or data.frame of one row per observation |
k |
number of groups |
a list of row ids corresponding to each fold and training and test split
Kevin Hadi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.