fitbenchmarking.hessian.base_hessian module

Implements the base class for the Hessian.

class fitbenchmarking.hessian.base_hessian.Hessian(problem, jacobian)

Bases: object

Base class for Hessian.

INCOMPATIBLE_PROBLEMS = {}
abstract eval(params, **kwargs)

Evaluates Hessian of the model

Parameters:

params (list) – The parameter values to find the Hessian at

Returns:

Computed Hessian

Return type:

3D numpy array

property method

Utility function to get the numerical method

Returns:

the names of the parameters

Return type:

list of str

name() str

Get a name for the current status of the hessian.

Returns:

A unique name for this hessian/method combination

Return type:

str