A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.SR1.html below:

SR1 — SciPy v1.16.1 Manual

scipy.optimize.

SR1#
class scipy.optimize.SR1(min_denominator=1e-08, init_scale='auto')[source]#

Symmetric-rank-1 Hessian update strategy.

Parameters:
min_denominatorfloat

This number, scaled by a normalization factor, defines the minimum denominator magnitude allowed in the update. When the condition is violated we skip the update. By default uses 1e-8.

init_scale{float, np.array, ‘auto’}, optional

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.144-146.

References

[1] (1,2)

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