Learn R Programming

mlr (version 2.9)

getClassWeightParam: Get the class weight parameter of a learner.

Description

Gets the class weight parameter of a learner.

Usage

getClassWeightParam(learner)

Arguments

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

Value

[numeric LearnerParam]: A numeric parameter object, containing the class weight parameter of the given learner.

See Also

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