skopt.callbacks.TimerCallback¶
- class skopt.callbacks.TimerCallback[source][source]¶
Log the elapsed time between each iteration of the minimization loop.
The time for each iteration is stored in the
iter_timeattribute which you can inspect after the minimization has completed.- Attributes
- iter_timelist, shape (n_iter,)
iter_time[i-1]gives the time taken to complete iterationi
Methods
__call__(res)- Parameters