Learn R Programming

mlr (version 2.7)

getPredictionResponse: Get response / truth from prediction object.

Description

The following types are returned, depending on task type: ll{ classif factor regr numeric se numeric cluster integer surv numeric multilabel logical matrix, columns named with labels }

Usage

getPredictionResponse(pred)

getPredictionSE(pred)

getPredictionTruth(pred)

Arguments

Value

See above.

See Also

Other predict: asROCRPrediction, generateROCRCurvesData, getPredictionProbabilities, plotROCRCurvesGGVIS, plotROCRCurves, plotViperCharts, predict.WrappedModel, setPredictThreshold, setPredictType