base_tf

class zfit.minimizers.base_tf.WrapOptimizer(optimizer, tolerance=None, verbosity=None, name=None, **kwargs)[source]

Bases: zfit.minimizers.baseminimizer.BaseMinimizer

copy()
minimize(loss: zfit.core.interfaces.ZfitLoss, params: Optional[Iterable[zfit.core.interfaces.ZfitParameter]] = None) → zfit.minimizers.fitresult.FitResult

Fully minimize the loss with respect to params.

Parameters
  • loss (ZfitLoss) – Loss to be minimized.

  • params (list(zfit.Parameter) – The parameters with respect to which to minimize the loss. If None, the parameters will be taken from the loss.

Returns

The fit result.

Return type

FitResult

step(loss, params: Union[Iterable[zfit.core.interfaces.ZfitParameter], None, Iterable[str]] = None)

Perform a single step in the minimization (if implemented).

Parameters

() (params) –

Returns:

Raises

MinimizeStepNotImplementedError – if the step method is not implemented in the minimizer.

property tolerance