Surrogate-methods | R Documentation |
Surrogate
Utilizes stats::optim to obtain parameter estimates. Requires that the objective function and its derivative are defined by the calling learning method. Returns NULL if optimization is not successful due to problems; a vector of the current parameter estimates if optimization is not successful because it hit the maximum number if iterations; and the list object returned by stats::optim if optimization is successful
## S4 method for signature 'Surrogate'
.optim(surrogate, par, lambda, fn, gr, suppress, ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.