Alias for getHyperPars.
Usage
getLearnerParVals(learner, for.fun = c("train", "predict", "both"))
Arguments
- learner
(Learner |
character(1)
)
The learner. If you pass a string the learner will be created via makeLearner.- for.fun
(
character(1)
)
Restrict the returned settings to hyperparameters corresponding towhen
the are used (see ParamHelpers::LearnerParam). Must be a subset of: “train”, “predict” or “both”. Default isc("train", "predict", "both")
.
Value
(list). A named list of values.
See also
Other learner:
LearnerProperties
,
getClassWeightParam()
,
getHyperPars()
,
getLearnerId()
,
getLearnerNote()
,
getLearnerPackages()
,
getLearnerParamSet()
,
getLearnerPredictType()
,
getLearnerShortName()
,
getLearnerType()
,
getParamSet()
,
helpLearnerParam()
,
helpLearner()
,
makeLearners()
,
makeLearner()
,
removeHyperPars()
,
setHyperPars()
,
setId()
,
setLearnerId()
,
setPredictThreshold()
,
setPredictType()