choose_trial_to_run#

HyperBandScheduler.choose_trial_to_run(tune_controller: TuneController) → Trial | None[source]#

Fair scheduling within iteration by completion percentage.

List of trials not used since all trials are tracked as state of scheduler. If iteration is occupied (ie, no trials to run), then look into next iteration.

Parameters:

tune_controller (TuneController) – The controller running the experiment. Unused.

Returns:

A PENDING trial, or a PAUSED trial that its bracket marked to unpause, from the least complete bracket that has one, or None if there’s no such trial.

Return type:

Trial | None