getPredictionResponse

0th

Percentile

Get response / truth from prediction object.

The following types are returned, depending on task type:

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
pred
[Prediction] Prediction object.
Value

See above.

See Also

Other predict: asROCRPrediction, getPredictionProbabilities, plotViperCharts, predict.WrappedModel, setPredictThreshold, setPredictType

Aliases
  • getPredictionResponse
  • getPredictionSE
  • getPredictionTruth
Documentation reproduced from package mlr, version 2.10, License: BSD_2_clause + file LICENSE

Community examples

Looks like there are no examples yet.