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
].asROCRPrediction
,
getPredictionProbabilities
,
getPredictionResponse
,
plotViperCharts
,
predict.WrappedModel
,
setPredictThreshold
Other learner: LearnerProperties
,
getClassWeightParam
,
getHyperPars
, getLearnerId
,
getLearnerPackages
,
getLearnerParVals
,
getLearnerParamSet
,
getLearnerPredictType
,
getLearnerShortName
,
getLearnerType
, getParamSet
,
makeLearners
, makeLearner
,
removeHyperPars
,
setHyperPars
, setId
,
setLearnerId
,
setPredictThreshold