R: Get the short name of the learner.

getLearnerShortName {mlr} | R Documentation

## 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`, `getLearnerPackages`, `getLearnerParVals`, `getLearnerParamSet`, `getLearnerPredictType`, `getLearnerType`, `getParamSet`, `helpLearnerParam`, `helpLearner`, `makeLearners`, `makeLearner`, `removeHyperPars`, `setHyperPars`, `setId`, `setLearnerId`, `setPredictThreshold`, `setPredictType`

[Package mlr version 2.14.0 Index]