skopt.callbacks
.VerboseCallback¶
- class skopt.callbacks.VerboseCallback(n_total, n_init=0, n_random=0)[source][source]¶
Callback to control the verbosity.
- Parameters
- n_initint, optional
Number of points provided by the user which are yet to be evaluated. This is equal to
len(x0)
wheny0
is None- n_randomint, optional
Number of points randomly chosen.
- n_totalint
Total number of func calls.
- Attributes
- iter_noint
Number of iterations of the optimization routine.
Methods
__call__
(res)- Parameters