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.

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