| setPredictThreshold {mlr} | R Documentation |
Set the probability threshold the learner should use.
Description
See predict.threshold in makeLearner and setThreshold.
For complex wrappers only the top-level predict.type is currently set.
Usage
setPredictThreshold(learner, predict.threshold)
Arguments
learner |
(Learner | |
predict.threshold |
(numeric) |
Value
See Also
Other predict:
asROCRPrediction(),
getPredictionProbabilities(),
getPredictionResponse(),
getPredictionTaskDesc(),
predict.WrappedModel(),
setPredictType()
Other learner:
LearnerProperties,
getClassWeightParam(),
getHyperPars(),
getLearnerId(),
getLearnerNote(),
getLearnerPackages(),
getLearnerParVals(),
getLearnerParamSet(),
getLearnerPredictType(),
getLearnerShortName(),
getLearnerType(),
getParamSet(),
helpLearner(),
helpLearnerParam(),
makeLearner(),
makeLearners(),
removeHyperPars(),
setHyperPars(),
setId(),
setLearnerId(),
setPredictType()