pg.early_stopping.Not#

Accessible via pg.early_stopping.Not.

class Not(*children)[source]#

Bases: Composite

Logical OR as a composite early stopping policy.

Methods:

should_stop_early(trial)

Should stop the input trial early based on its measurements.

should_stop_early(trial)[source]#

Should stop the input trial early based on its measurements.

Return type:

bool