Create a lst of train/test indices
1 | get_cv_indices(y, nfold = 4)
|
nfold |
number of folds for cross-validation. |
n |
number of rows in data set. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.