fitbenchmarking.hessian.best_available_hessian module
Module which acts as a analytic Hessian calculator when available, otherwise uses a trusted software to approximate.
- class fitbenchmarking.hessian.best_available_hessian.BestAvailable(problem, jacobian)
Bases:
HessianClass to apply an analytical Hessian if available – otherwise choose a scipy one.
- 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