skopt.callbacks.DeltaYStopper

class skopt.callbacks.DeltaYStopper(delta, n_best=5)[source][source]

Stop the optimization if the n_best minima are within delta

Stop the optimizer if the absolute difference between the n_best objective values is less than delta.

Methods

__call__(self, result)

Parameters

__init__(self, delta, n_best=5)[source][source]

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