Closure for optimization with BFGS and specified gradient function Called by fit_weights_for_node. Creates a closure based on the 'optim' function. Uses BFGS or unbounded BFGS depending on if bounds are provided.
1 | getOptimizationFunction(g, lossFunction, getGradient)
|
fit_weights_for_node
, getObjective
, getOptimizationFunction
, getOptimizationFunctionNG
, getPrediction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.