getClassWeightParam(learner)
Learner
| character(1)
]
The learner.
If you pass a string the learner will be created via makeLearner
.numeric LearnerParam
]:
A numeric parameter object, containing the class weight parameter of the given learner.
LearnerProperties
,
getHyperPars
, getParamSet
,
makeLearner
, removeHyperPars
,
setHyperPars
, setId
,
setPredictThreshold
,
setPredictType