create_seeded_folds | R Documentation |
A utility function used in RAFS but useful also for external cross-validation.
create_seeded_folds(decision, k, seed)
decision |
decision variable as a binary sequence of length equal to number of observations |
k |
number of folds for cross validation |
seed |
a numerical seed |
A vector of folds. Each fold being a vector of selected indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.