deephyper.skopt.callbacks.VerboseCallback

deephyper.skopt.callbacks.VerboseCallback#

class deephyper.skopt.callbacks.VerboseCallback(n_total, n_init=0, n_random=0)[source]#

Bases: object

Callback to control the verbosity.

Parameters:
  • n_init (int, 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_random (int, optional) – Number of points randomly chosen.

  • n_total (int) – Total number of func calls.

iter_no#

Number of iterations of the optimization routine.

Type:

int

Methods

__call__(res)[source]#
Parameters:

res (OptimizeResult, scipy object) – The optimization as a OptimizeResult object.