Description Usage Arguments Value
Helper function to perform K-Fold Cross-Validation
1 | kfold_crossvalidation(n, k = 5, seed = NULL)
|
n |
number of training examples |
k |
number of folds. Default is 5 |
seed |
seed for the pseudo-random number generator |
a matrix of logical vectors defining observations in each fold.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.