getPredictionResponse: Get response / truth from prediction object.

Description Usage Arguments Value See Also

View source: R/Prediction_operators.R

Description

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

1
2
3
4
5

Arguments

pred

[Prediction]
Prediction object.

Value

See above.

See Also

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


guillermozbta/s2 documentation built on Jan. 2, 2018, 12:25 a.m.