make.resample.instance(mlr)R Documentation

Mainly for internal use.

Description

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.

Usage

make.resample.instance(desc, size)

Arguments

desc [resample.desc]
Describes the resampling strategy.
size [integer]
Size of the data set to resample from.

Value

Object of corresponding subclass of resample.instance.

Examples

cv.d <- new("cv.desc", iters = 10)
rin <- make.resample.instance(desc = cv.d, size = nrow(iris))

[Package mlr version 0.3.180 Index]