Get response / truth from prediction object.
Source:R/Prediction_operators.R
getPredictionResponse.Rd
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 |
Arguments
- pred
(Prediction)
Prediction object.
See also
Other predict:
asROCRPrediction()
,
getPredictionProbabilities()
,
getPredictionTaskDesc()
,
predict.WrappedModel()
,
setPredictThreshold()
,
setPredictType()