- class zfit.minimize.PushbackStrategy#
Pushback by adding
nan_penalty * counterto the loss if NaNs are encountered.
The counter indicates how many NaNs occurred in a row. The
nan_tolis the upper limit, if this is exceeded, the fallback will be used and an error is raised.
nan_penalty – Value to add to the previous loss in order to penalize the step taken.
nan_tol – If the number of NaNs encountered in a row exceeds this number, the fallback is used.