Learn R Programming

mlr (version 2.15.0)

getLearnerShortName: Get the short name of the learner.

Description

For an ordinary learner simply its short name is returned. For wrapped learners, the wrapper id is successively attached to the short name of the base learner. E.g: “rf.bagged.imputed”

Usage

getLearnerShortName(learner)

Arguments

learner

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

Value

(character(1)).

See Also

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