pg.early_stopping.And#

Accessible via pg.early_stopping.And.

class And(*children)[source]#

Bases: Composite

Logical AND 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