(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").
This function only shows hyperparameters that differ from the
learner default (because mlr changed the default) or if the user set
hyperparameters manually during learner creation. If you want to have an
overview of all available hyperparameters use getParamSet().
# NOT RUN {getHyperPars(makeLearner("classif.ranger"))
## set learner hyperparameter `mtry` manuallygetHyperPars(makeLearner("classif.ranger", mtry = 100))
# }