deephyper.skopt.callbacks.DeltaXStopper#

class deephyper.skopt.callbacks.DeltaXStopper(delta)[source]#

Bases: EarlyStopper

Stop the optimization when |x1 - x2| < delta

If the last two positions at which the objective has been evaluated are less than delta apart stop the optimization procedure.

Methods

__call__(result)#
Parameters:

result (OptimizeResult, scipy object) – The optimization as a OptimizeResult object.