Learn R Programming

mlr (version 2.19.0)

removeHyperPars: Remove hyperparameters settings of a learner.

Description

Remove settings (previously set through mlr) for some parameters. Which means that the default behavior for that param will now be used.

Usage

removeHyperPars(learner, ids = character(0L))

Value

Learner.

Arguments

learner

(Learner | character(1))
The learner. If you pass a string the learner will be created via makeLearner.

ids

(character)
Parameter names to remove settings for. Default is character(0L).

See Also

Other learner: LearnerProperties, getClassWeightParam(), getHyperPars(), getLearnerId(), getLearnerNote(), getLearnerPackages(), getLearnerParVals(), getLearnerParamSet(), getLearnerPredictType(), getLearnerShortName(), getLearnerType(), getParamSet(), helpLearnerParam(), helpLearner(), makeLearners(), makeLearner(), setHyperPars(), setId(), setLearnerId(), setPredictThreshold(), setPredictType()