getHyperPars

0th

Percentile

Get current parameter settings for a learner.

Retrieves the current hyperparameter settings of a learner.

Usage
getHyperPars(learner, for.fun = c("train", "predict", "both"))
Arguments
learner

(Learner) The learner.

for.fun

(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").

Value

(list). A named list of values.

See Also

Other learner: LearnerProperties, getClassWeightParam, getLearnerId, getLearnerPackages, getLearnerParVals, getLearnerParamSet, getLearnerPredictType, getLearnerShortName, getLearnerType, getParamSet, helpLearnerParam, helpLearner, makeLearners, makeLearner, removeHyperPars, setHyperPars, setId, setLearnerId, setPredictThreshold, setPredictType

Aliases
  • getHyperPars
Documentation reproduced from package mlr, version 2.12.1, License: BSD_2_clause + file LICENSE

Community examples

Looks like there are no examples yet.