create_seeded_folds {RAFS} | R Documentation |
Create seeded folds
Description
A utility function used in RAFS but useful also for external cross-validation.
Usage
create_seeded_folds(decision, k, seed)
Arguments
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 |
Value
A vector of folds. Each fold being a vector of selected indices.
[Package RAFS version 0.2.4 Index]