Learn R Programming

mlr (version 2.10)

ResampleResult: ResampleResult object.

Description

A resample result is created by resample and contains the following object members:
task.id [character(1)]:
Name of the Task.
learner.id [character(1)]:
Name of the Learner.
measures.test [data.frame]:
Gives you access to performance measurements on the individual test sets. Rows correspond to sets in resampling iterations, columns to performance measures.
measures.train [data.frame]:
Gives you access to performance measurements on the individual training sets. Rows correspond to sets in resampling iterations, columns to performance measures. Usually not available, only if specifically requested, see general description above.
aggr [numeric]:
Named vector of aggregated performance values. Names are coded like this <measure>.<aggregation>.
err.msgs [data.frame]:
Number of rows equals resampling iterations and columns are: “iter”, “train”, “predict”. Stores error messages generated during train or predict, if these were caught via configureMlr.
pred [ResamplePrediction]:
Container for all predictions during resampling.
models [list of WrappedModel]:
List of fitted models or NULL.
extract [list]:
List of extracted parts from fitted models or NULL.
runtime [numeric(1)]:
Time in seconds it took to execute the resampling.
The print method of this object gives a short overview, including task and learner ids, aggregated measures and runtime for the resampling.

Arguments

See Also

Other resample: ResamplePrediction, addRRMeasure, getRRPredictionList, getRRPredictions, getRRTaskDescription, makeResampleDesc, makeResampleInstance, resample