zfit.minimize.
BFGS
Bases: zfit.minimizers.baseminimizer.BaseMinimizer
zfit.minimizers.baseminimizer.BaseMinimizer
# Todo write description for api.
strategy (Optional[ZfitStrategy]) – Strategy that handles NaN and more (to come, experimental)
Optional
ZfitStrategy
tolerance (float) – Difference between the function value that suffices to stop minimization
float
verbosity (int) – The higher, the more is printed. Between 1 and 10 typically
int
max_calls (int) – Maximum number of calls, approximate
name (str) – Name of the Minimizer
str
options (Optional[Mapping]) – A dict containing the options given to the minimization function, overriding the default
Mapping
minimize
Fully minimize the loss with respect to params.
loss (ZfitLoss) – Loss to be minimized.
ZfitLoss
params (Optional[Iterable[ForwardRef]]) – The parameters with respect to which to minimize the loss. If None, the parameters will be taken from the loss.
Iterable
ForwardRef
FitResult
The fit result.
step
Perform a single step in the minimization (if implemented).
params (Union[Iterable[ForwardRef], None, Iterable[str]]) –
Union
None
Returns:
MinimizeStepNotImplementedError – if the step method is not implemented in the minimizer.