| make.bs.instance(mlr) | R Documentation |
make.bs.instance generates a bs.instance object, which encapsulates the generated indices of training and test sets.
make.bs.instance(size, iters)
size |
[integer] Size of the data set to resample. |
iters |
[integer] Number of generated subsets / resampling iterations. |
A bs.instance object, which encapsulates the generated indices of training and test sets.
data(iris) rin <- make.bs.instance(size=nrow(iris), iters=10)