getDefaultParConfig: Gives a default ParConfig for a Learner

Description Usage Arguments Value Examples

View source: R/getDefaultParConfig.R

Description

For a given Learner this method will return a useful default Parameter Set for Tuning.

Usage

1

Arguments

learner

[Learner] An mlr Learner.

Value

[ParConfig]

Examples

1
2
3
learner = makeLearner("classif.randomForest")
par.config = getDefaultParConfig(learner)
print(par.config)

jakob-r/mlrHyperopt documentation built on Jan. 10, 2022, 4:32 p.m.