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