File: getPredictionResponse.Rd

package info (click to toggle)
r-cran-mlr 2.19.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,264 kB
  • sloc: ansic: 65; sh: 13; makefile: 5
file content (42 lines) | stat: -rw-r--r-- 1,001 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
% 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}