deephyper.skopt.callbacks.ThresholdStopper#
- class deephyper.skopt.callbacks.ThresholdStopper(threshold: float)[source]#
Bases:
EarlyStopper
Stop the optimization when the objective value is lower than the given threshold.
Methods
- __call__(result)#
- Parameters:
result (OptimizeResult, scipy object) – The optimization as a OptimizeResult object.