internallyRegisterOptimizer: Register a new optimizer / optimization algorithm.

Description Usage Arguments Value

View source: R/internallyRegisterOptimizer.R

Description

This function is the “make” of noir. It is a constructor for noir-optimizers.

Usage

1
2
internallyRegisterOptimizer(id, class, packages, hyper.par.set,
  par.values = list(), objective.type = "single-objective", tags = NULL)

Arguments

id

[character(1)]
String representation of the optimizer.

class

[character(1)]
Class used internally for the optimizer. Basically this can be equal to id.

packages

[character*]
Packages needed to execute the optimizer. Default is NULL, i.e., base R is sufficient.

hyper.par.set

[ParamSet]
Parameter set defining the algorithm parameters. See makeParamSet for details.

par.values

[list]
Named list of parameter values. Default is the empty list.

objective.type

[character(1)]
One of “single-objective” or “multi-objective”. See getAvailableObjectiveTypes.

tags

[character(1)]
Keywords which characterize the properties of the optimizer. See getSupportedTags for a list of available tags. Default is NULL, i.e., no tags are assigned.

Value

[optimizer] S3 object encapsulating the optimizer.


jakobbossek/noir documentation built on May 18, 2019, 10:10 a.m.