getRRPredictionList: Get list of predictions for train and test set of each single...

View source: R/ResampleResult_operators.R

getRRPredictionListR Documentation

Get list of predictions for train and test set of each single resample iteration.

Description

This function creates a list with two slots train and test where each slot is again a list of Prediction objects for each single resample iteration. In case that predict = "train" was used for the resample description (see makeResampleDesc), the slot test will be NULL and in case that predict = "test" was used, the slot train will be NULL.

Usage

getRRPredictionList(res, ...)

Arguments

res

(ResampleResult)
The result of resample run with keep.pred = TRUE.

...

(any)
Further options passed to makePrediction.

Value

list.

See Also

Other resample: ResamplePrediction, ResampleResult, addRRMeasure(), getRRPredictions(), getRRTaskDescription(), getRRTaskDesc(), makeResampleDesc(), makeResampleInstance(), resample()


berndbischl/mlr documentation built on Aug. 15, 2024, 4:20 p.m.