Free Access Week - Data Engineering + BI
Data engineering and BI courses are free!
Free Access Week - Jun 2-8

mlr (version 2.3)

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, addProperties, hasProperties, removeProperties, setProperties; Learner, makeLearner; getHyperPars; getParamSet; removeHyperPars; setHyperPars; setId; setPredictType; showHyperPars

Other predict: asROCRPrediction; getProbabilities; plotROCRCurves; plotViperCharts; predict.WrappedModel; setPredictType