Class MedianAutomatedStoppingSpec (1.36.4)

MedianAutomatedStoppingSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The median automated stopping rule stops a pending Trial if the Trial's best objective_value is strictly below the median 'performance' of all completed Trials reported up to the Trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the Trial in each measurement.

Attribute

NameDescription
use_elapsed_duration bool
True if median automated stopping rule applies on Measurement.elapsed_duration. It means that elapsed_duration field of latest measurement of current Trial is used to compute median objective value for each completed Trials.

Methods

MedianAutomatedStoppingSpec

MedianAutomatedStoppingSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The median automated stopping rule stops a pending Trial if the Trial's best objective_value is strictly below the median 'performance' of all completed Trials reported up to the Trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the Trial in each measurement.