setLearnerId: Set the ID of a learner object.

Description Usage Arguments Value See Also

View source: R/Learner_operators.R

Description

Set the ID of the learner.

Usage

1
setLearnerId(learner, id)

Arguments

learner

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

id

(character(1))
New ID for learner.

Value

Learner.

See Also

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


mlr documentation built on Aug. 28, 2018, 5:04 p.m.