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) when y0 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__(self, res)

Parameters

__init__(self, n_total, n_init=0, n_random=0)[source][source]

Initialize self. See help(type(self)) for accurate signature.