deephyper.skopt.callbacks.EarlyStopper

deephyper.skopt.callbacks.EarlyStopper#

class deephyper.skopt.callbacks.EarlyStopper[source]#

Bases: object

Decide to continue or not given the results so far.

The optimization procedure will be stopped if the callback returns True.

Methods

__call__(result)[source]#
Parameters:

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