For complex wrappers the predict type is usually also passed down the encapsulated learner in a recursive fashion.
setPredictType(learner, predict.type)
Learner
| character(1)
]
The learner.
If you pass a string the learner will be created via makeLearner
.character(1)
]
Classification: response or prob.
Regression: response or se.
Survival: response (linear predictor) or prob.
Clustering: response or prob.
Default is response.Learner
].
LearnerProperties
,
getClassWeightParam
,
getHyperPars
, getParamSet
,
makeLearner
, removeHyperPars
,
setHyperPars
, setId
,
setPredictThreshold
Other predict: asROCRPrediction
,
getPredictionProbabilities
,
getPredictionResponse
,
plotViperCharts
,
predict.WrappedModel
,
setPredictThreshold