deephyper.skopt.callbacks.DeltaYStopper#
- class deephyper.skopt.callbacks.DeltaYStopper(delta, n_best=5)[source]#
Bases:
EarlyStopper
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__(result)#
- Parameters:
result (OptimizeResult, scipy object) – The optimization as a OptimizeResult object.