deephyper.skopt.callbacks.HollowIterationsStopper#

class deephyper.skopt.callbacks.HollowIterationsStopper(n_iterations, threshold=0)[source]#

Bases: EarlyStopper

Stop if the improvement over the last n iterations is below a threshold.

Methods

__call__(result)#
Parameters:

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