getLearnerParVals: Get the parameter values of the learner.

Description Usage Arguments Value See Also

Description

Alias for getHyperPars.

Usage

1
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 to when the are used (see 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, getHyperPars, getLearnerId, getLearnerPackages, getLearnerParamSet, getLearnerPredictType, getLearnerShortName, getLearnerType, getParamSet, helpLearnerParam, helpLearner, makeLearners, makeLearner, removeHyperPars, setHyperPars, setId, setLearnerId, setPredictThreshold, setPredictType


Najah-lshanableh/R-data-mining2 documentation built on May 6, 2019, 10:11 a.m.