ray.tune.schedulers.MedianStoppingRule.on_trial_result#
- MedianStoppingRule.on_trial_result(tune_controller: TuneController, trial: Trial, result: Dict) str [source]#
Callback for early stopping.
This stopping rule stops a running trial if the trial’s best objective value by step
t
is strictly worse than the median of the running averages of all completed trials’ objectives reported up to stept
.