getClassWeightParam: Get the class weight parameter of a learner.

Description Usage Arguments Value See Also

View source: R/getClassWeightParam.R

Description

Gets the class weight parameter of a learner.

Usage

1

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


berndbischl/mlr documentation built on Nov. 21, 2017, 12:51 a.m.