skopt.callbacks.DeltaXStopper

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

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

__init__(delta)[source][source]

Initialize self. See help(type(self)) for accurate signature.