Gets the class weight parameter of a learner.
getClassWeightParam(learner, lrn.id = NULL)
learner | (Learner | |
---|---|
lrn.id | (character) |
numeric LearnerParam: A numeric parameter object, containing the class weight parameter of the given learner.
Other learner:
LearnerProperties
,
getHyperPars()
,
getLearnerId()
,
getLearnerNote()
,
getLearnerPackages()
,
getLearnerParVals()
,
getLearnerParamSet()
,
getLearnerPredictType()
,
getLearnerShortName()
,
getLearnerType()
,
getParamSet()
,
helpLearnerParam()
,
helpLearner()
,
makeLearners()
,
makeLearner()
,
removeHyperPars()
,
setHyperPars()
,
setId()
,
setLearnerId()
,
setPredictThreshold()
,
setPredictType()