makeParConfig: Make a Parameter Configuration

Description Usage Arguments Value See Also

View source: R/ParConfig.R

Description

Defines a Parameter Configuration consisting of a ParamSet that defines the search range for the Hyperparameter Optimization. Additionally you might want to specify some hard Parameters that are not supposed to be optimized but are necessary to be specified. You might want to pass a Learner to associate the ParConfig to a special Learner.

Usage

1
2
3
4
5
6
7
makeParConfig(
  par.set,
  learner = NULL,
  par.vals = NULL,
  learner.name = NULL,
  note = character(1L)
)

Arguments

par.set

[ParamSet] The Parameter Set.

learner

[Learner|character(1)] mlr Learner or string that identifies the Learner.

par.vals

[list] Specific constant parameter settings. If the learner also has defined hyperparameters they will be combined using link[BBmisc]{insert} and a warning will be issued.

learner.name

[character(1)] Will be overwritten if learner is passed. Can be used to associate the Parameter Configuration to a Learner without specifying if it belongs to e.g. classification or regression.

note

[character(1)] The note you want to attach to the Parameter Configuration.

Value

[ParConfig]

See Also

Other ParConfig: getParConfigLearnerClass(), getParConfigLearnerName(), getParConfigLearnerType(), getParConfigNote(), getParConfigParSet(), getParConfigParVals(), setParConfigLearnerType(), setParConfigLearner(), setParConfigNote(), setParConfigParSet(), setParConfigParVals()


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