src/orion/algo/hyperband.py
def _refresh_bracket(self):
        """Refresh bracket if one hyperband execution is done"""
        if all(bracket.is_done for bracket in self.brackets):
            self.executed_times = self.brackets[0].repetition_id
            logger.debug(
                "Hyperband execution %i is done, required to execute %s times",
                self.executed_times,
                str(self.repetitions),
            )

            # Continue to the next execution if need
            if self.executed_times < self.repetitions:
                self.brackets = [
                    Bracket(self, bracket_budgets, self.executed_times + 1)
                    for bracket_budgets in self.budgets
                ]
Refresh bracket if one hyperband execution is done
Refresh bracket if one hyperband execution is done
Refresh bracket if one hyperband execution is done
def _refresh_bracket(self):
        if all(bracket.is_done for bracket in self.brackets):
            self.executed_times = self.brackets[0].repetition_id
            logger.debug(
                "Hyperband execution %i is done, required to execute %s times",
                self.executed_times,
                str(self.repetitions),
            )
            if self.executed_times < self.repetitions:
                self.brackets = [
                    Bracket(self, bracket_budgets, self.executed_times + 1)
                    for bracket_budgets in self.budgets
                ]
def _refresh_bracket ( self ) : if all ( bracket . is_done for bracket in self . brackets ) : self . executed_times = self . brackets [ 0 ] . repetition_id logger . debug ( "Hyperband execution %i is done, required to execute %s times" , self . executed_times , str ( self . repetitions ) , ) if self . executed_times < self . repetitions : self . brackets = [ Bracket ( self , bracket_budgets , self . executed_times + 1 ) for bracket_budgets in self . budgets ]
Refresh bracket if one hyperband execution is done
Refresh bracket if one hyperband execution is done
"""Refresh bracket if one hyperband execution is done""" # Continue to the next execution if need
self