View source: R/DataStorageClass.R
Define fold ID column for cross-validation
1 | define_CVfolds(data, nfolds = 5, fold_column = "fold_ID", seed = NULL)
|
data |
Object of class |
nfolds |
The number of folds to use in V fold cross-validation. |
fold_column |
The name for the column that will contain the fold IDs. |
seed |
Fix the seed for random generator. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.