on_trial_result#

HyperBandScheduler.on_trial_result(tune_controller: TuneController, trial: Trial, result: Dict)[source]#

If bracket is finished, all trials will be stopped.

If a given trial finishes and bracket iteration is not done, the trial will be paused and resources will be given up.

This scheduler will not start trials but will stop trials. The current running trial will not be handled, as the trialrunner will be given control to handle it.

Parameters:
  • tune_controller (TuneController) – The controller running the experiment.

  • trial (Trial) – The trial that reported the result.

  • result (Dict) – The result the trial reported.

Returns:

TrialScheduler.CONTINUE, TrialScheduler.PAUSE, or TrialScheduler.STOP.

Return type:

The scheduling decision for the trial