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

getDefaultParConfig(learner)

Arguments

learner

[Learner] An mlr Learner.

Value

[ParConfig]

Examples

learner = makeLearner("classif.randomForest") par.config = getDefaultParConfig(learner) print(par.config)
#> Parameter Configuration #> Parameter Values: list() #> Associated Learner: classif.randomForest #> Parameter Set: #> Type len Def Constr Req Tunable Trafo #> nodesize integer - 1 1 to 10 - TRUE - #> mtry integer - floor(sqrt(p)) 1 to p - TRUE -