R: Get the ID of the learner.

getLearnerId {mlr} | R Documentation

## Get the ID of the learner.

### Description

Get the ID of the learner.

### Usage

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

[Package mlr version 2.16.0 Index]