Learn R Programming

mlr (version 2.9)

LearnerProperties: Query properties of learners.

Description

Properties can be accessed with getLearnerProperties(learner), which returns a character vector.

The learner properties are defined as follows:

Usage

getLearnerProperties(learner)
hasLearnerProperties(learner, props)

Arguments

learner
[Learner | character(1)] The learner. If you pass a string the learner will be created via makeLearner.
props
[character] Vector of properties to query.

Value

getLearnerProperties returns a character vector with learner properties. hasLearnerProperties returns a logical vector of the same length as props.

See Also

Other learner: getClassWeightParam, getHyperPars, getParamSet, makeLearner, removeHyperPars, setHyperPars, setId, setPredictThreshold, setPredictType