Learn R Programming

mlr (version 2.7)

setPredictThreshold: 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

Value

[Learner].

See Also

Other learner: LearnerProperties, getClassWeightParam, getHyperPars, getParamSet, makeLearner, removeHyperPars, setHyperPars, setId, setPredictType

Other predict: asROCRPrediction, generateROCRCurvesData, getPredictionProbabilities, getPredictionResponse, plotROCRCurvesGGVIS, plotROCRCurves, plotViperCharts, predict.WrappedModel, setPredictType