syne_tune.optimizer.schedulers.synchronous.dehb_bracket module

class syne_tune.optimizer.schedulers.synchronous.dehb_bracket.DifferentialEvolutionHyperbandBracket(rungs, mode)[source]

Bases: SynchronousBracket

Represents a bracket in Differential Evolution Hyperband (DEHB).

There are a number of differences to brackets in standard synchronous Hyperband (SynchronousHyperbandBracket):

  • on_result(): result.trial_id overwrites trial_id in rung even if latter is not None.

  • Promotions are not triggered automatically when a rung is complete

  • Some additional methods

property num_rungs: int
size_of_current_rung()[source]
Return type:

int

trial_id_for_slot(rung_index, slot_index)[source]
Return type:

Optional[int]

top_list_for_previous_rung()[source]

Returns list of trial_ids corresponding to best scoring entries in rung below the currently active one (which must not be the base rung). The list is of the size of the current rung.

Return type:

List[int]