deephyper.skopt.callbacks.DeadlineStopper#
- class deephyper.skopt.callbacks.DeadlineStopper(total_time)[source]#
Bases:
EarlyStopper
Stop the optimization before running out of a fixed budget of time.
- Parameters:
total_time (float) – fixed budget of time (seconds) that the optimization must finish within.
Methods
- __call__(result)#
- Parameters:
result (OptimizeResult, scipy object) – The optimization as a OptimizeResult object.