tune.scheduler.online_scheduler
OnlineScheduler Objects
class OnlineScheduler(TrialScheduler)
Class for the most basic OnlineScheduler.
on_trial_result
def on_trial_result(trial_runner, trial: Trial, result: Dict)
Report result and return a decision on the trial's status.
choose_trial_to_run
def choose_trial_to_run(trial_runner) -> Trial
Decide which trial to run next.
OnlineSuccessiveDoublingScheduler Objects
class OnlineSuccessiveDoublingScheduler(OnlineScheduler)
class for the OnlineSuccessiveDoublingScheduler algorithm.
__init__
def __init__(increase_factor: float = 2.0)
Constructor.
Arguments:
increase_factor
- A float of multiplicative factor used to increase resource lease. Default is 2.0.
on_trial_result
def on_trial_result(trial_runner, trial: Trial, result: Dict)
Report result and return a decision on the trial's status.
ChaChaScheduler Objects
class ChaChaScheduler(OnlineSuccessiveDoublingScheduler)
class for the ChaChaScheduler algorithm.
__init__
def __init__(increase_factor: float = 2.0, **kwargs)
Constructor.
Arguments:
increase_factor
- A float of multiplicative factor used to increase resource lease. Default is 2.0.
on_trial_result
def on_trial_result(trial_runner, trial: Trial, result: Dict)
Report result and return a decision on the trial's status.