| make.resample.instance(mlr) | R Documentation |
Mainly for internal use. Construct a resample.instance from a resample.desc.
Convenience method, so one doesn't have to call the specific constructors of classes inheriting from resample.desc.
make.resample.instance(desc, size)
desc |
[resample.desc] Describes the resampling strategy. |
size |
[integer] Size of the data set to resample from. |
Object of corresponding subclass of resample.instance.
cv.d <- new("cv.desc", iters = 10)
rin <- make.resample.instance(desc = cv.d, size = nrow(iris))