Description Usage Arguments Value See Also Examples
Optimise the given function using (scaled) conjugate gradients.
| 1 2 3 4 |   optimiDefaultOptions()
  SCGoptim(x, fn, grad, options, ...)
  CGoptim(x, fn, grad, options, ...)
  modelOptimise(model, options, ...)
 | 
| model | the model to be optimised. | 
| x | initial parameter values. | 
| fn | objective function to minimise | 
| grad | gradient function of the objective | 
| options | options structure like one returned by
 | 
| ... | extra arguments to pass to fn and grad | 
| options | an options structure | 
| newParams | optimised parameter values | 
| model | the optimised model. | 
| 1 2 3 4 | ## Not run to speed up package checks
# model <- GPLearn(..., dontOptimise=TRUE)
# options <- optimiDefaultOptions()
# model <- modelOptimise(model, options)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.