gigl.src.common.modeling_task_specs.utils.EarlyStopper#
- class gigl.src.common.modeling_task_specs.utils.early_stop.EarlyStopper(early_stop_criterion: EvalMetricType, early_stop_patience: int)#
Bases:
object
Methods
has_improved
should_early_stop
- __init__(early_stop_criterion: EvalMetricType, early_stop_patience: int)#
- __weakref__#
list of weak references to the object (if defined)