skopt.callbacks
.DeadlineStopper¶
-
class
skopt.callbacks.
DeadlineStopper
(total_time)[source][source]¶ Stop the optimization before running out of a fixed budget of time.
- Parameters
- total_timefloat
fixed budget of time (seconds) that the optimization must finish within.
- Attributes
- iter_timelist, shape (n_iter,)
iter_time[i-1]
gives the time taken to complete iterationi
Methods
__call__
(self, result)- Parameters