BFGS_std | R Documentation |
Do generic minimization of a function funcw
that takes
a list parlist using the "Broyden-Fletcher-Goldfarb-Shanno" (BFGS) algorithm.
Useful for hyperparameter optimization because it handles infinite returns
fairly easily.
BFGS_std(funcw, parlist, B = NULL, lr = 0.1, ..., verbose = 0)
funcw |
An object to optimize |
parlist |
An initial point as a list |
B |
An initial Hessian to start from |
lr |
An initial learning rate to start from |
... |
additional parameters passed to |
verbose |
an integer from 0-3 where larger prints more information |
a list of information from optimization, with the value stored in
parlist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.