Description Usage Arguments Value Examples
Expects an noir_optimizer
and a smoof_function
and applies the
optimizer to the function.
1 |
optimizer |
[ |
obj.fn |
[ |
... |
[any] |
[noir_result
]
1 2 3 4 5 6 7 8 9 | library(smoof)
obj.fn = smoof::makeSphereFunction(2L)
# setting up the optimizer by hand
optimizer = setUpOptimizer("neldermead")
res = noir(optimizer, obj.fn, alpha = 1.5)
# alternatively pass the string representation of the optimizer
res = noir("neldermead", obj.fn, alpha = 1.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.