new_optimizer | R Documentation |
optimizer
objectThis function constructs an S3 optimizer
object.
new_optimizer(
x = list(),
.optimizer = function() {
},
optimizer_name = character(),
optimizer_arguments = list(),
.objective = character(),
.initial = character(),
.value = character(),
.parameter = character(),
.direction = character(),
.output_ignore = character()
)
x |
A |
.optimizer |
A
|
optimizer_name |
A |
optimizer_arguments |
A |
.objective |
A |
.initial |
A |
.value |
A |
.parameter |
A |
.direction |
A |
.output_ignore |
A |
An S3 object of class optimizer
.
An optimizer
object is a list
of six elements:
A function
, the optimization algorithm.
A character
, the name of
optimizer
.
A named list
, where each element
is an additional function argument for optimizer
.
Either "min"
if the optimizer minimizes
or "max"
if the optimizer maximizes.
A named list
of four
character
:
the name of the function input of optimizer
the name of the starting parameter values input of
optimizer
the name of the optimal function value in the output list
of optimizer
the name of the optimal parameter vector in the
output list of optimizer
.
A character
vector of element
names in the output list
of optimizer
that are ignored.
The elements value
and parameter
are added automatically to
output_ignore
, because they are saved
separately, see the output documentation of apply_optimizer
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.