| resample.desc-class(mlr) | R Documentation |
Base class for description of resampling algorithms. A description of a resampling algorithm contains all necessary information to provide a resampling.instance, when given the size of the data set.
instance.class:character) S4 class name of the corresponding resample.instancename:character) Name of this resampling algorithmiters:numeric) Number of iterationsbenchmarksignature(learn.task = "learn.task", outer.resampling = "resample.instance", inner.resampling = "resample.desc", ranges = "list", measure = "list", all.tune.results = "logical"): benchmark conducts a benchmark experiment for a single classifier on a single
data set. This consists of an inner stage and outer stage. At the outer stage a
tuning set and a test set are repeatedly formed from the data through resampling
(usually cross-validation or bootstrapping). The respective hyperparameters of the
classifier are tuned on the tuning set again through an inner resampling process,
the classifier is trained on the complete tuning set with the best found
hyperparameters and the performance is measured on the test set.[signature( = "resample.desc"): Getter.make.resample.instancesignature(desc = "resample.desc", size = "numeric"): 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.