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 ('character(1)') 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 Feb. 19, 2018, 9:13 p.m.