scipy.optimize.
BFGS#Broyden-Fletcher-Goldfarb-Shanno (BFGS) Hessian update strategy.
Define how to proceed when the curvature condition is violated. Set it to âskip_updateâ to just skip the update. Or, alternatively, set it to âdamp_updateâ to interpolate between the actual BFGS result and the unmodified matrix. Both exceptions strategies are explained in [1], p.536-537.
This number, scaled by a normalization factor, defines the minimum curvature dot(delta_grad, delta_x)
allowed to go unaffected by the exception strategy. By default is equal to 1e-8 when exception_strategy = 'skip_update'
and equal to 0.2 when exception_strategy = 'damp_update'
.
This parameter can be used to initialize the Hessian or its inverse. When a float is given, the relevant array is initialized to np.eye(n) * init_scale
, where n
is the problem dimension. Alternatively, if a precisely (n, n)
shaped, symmetric array is given, this array will be used. Otherwise an error is generated. Set it to âautoâ in order to use an automatic heuristic for choosing the initial scale. The heuristic is described in [1], p.143. The default is âautoâ.
Methods
Notes
The update is based on the description in [1], p.140.
References
[1] (1,2,3)Nocedal, Jorge, and Stephen J. Wright. âNumerical optimizationâ Second Edition (2006).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4