getPredictionResponse.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Prediction_operators.R
\name{getPredictionResponse}
\alias{getPredictionResponse}
\alias{getPredictionSE}
\alias{getPredictionTruth}
\title{Get response / truth from prediction object.}
\usage{
getPredictionResponse(pred)
getPredictionSE(pred)
getPredictionTruth(pred)
}
\arguments{
\item{pred}{(\link{Prediction})\cr
Prediction object.}
}
\value{
See above.
}
\description{
The following types are returned, depending on task type:
\tabular{ll}{
classif \tab factor\cr
regr \tab numeric\cr
se \tab numeric\cr
cluster \tab integer\cr
surv \tab numeric\cr
multilabel \tab logical matrix, columns named with labels\cr
}
}
\seealso{
Other predict:
\code{\link{asROCRPrediction}()},
\code{\link{getPredictionProbabilities}()},
\code{\link{getPredictionTaskDesc}()},
\code{\link{predict.WrappedModel}()},
\code{\link{setPredictThreshold}()},
\code{\link{setPredictType}()}
}
\concept{predict}