deephyper.skopt.callbacks#
Monitor and influence the optimization procedure via callbacks.
Callbacks are callables which are invoked after each iteration of the optimizer and are passed the results “so far”. Callbacks can monitor progress, or stop the optimization early by returning True.
Functions
Check if callback is a callable or a list of callables. |
|
Store an skopt optimization result into a file. |
|
Return the current time in seconds since the Epoch. |
Classes
Save current state after each iteration with |
|
Stop the optimization before running out of a fixed budget of time. |
|
Stop the optimization when |
|
Stop the optimization if the n_best minima are within delta |
|
Decide to continue or not given the results so far. |
|
Stop if the improvement over the last n iterations is below a threshold. |
|
Stop the optimization when the objective value is lower than the given threshold. |
|
Log the elapsed time between each iteration of the minimization loop. |
|
Callback to control the verbosity. |