(self, iteration, iteration_kwargs={})
return (SuccessiveHalving(HPB_iter=iteration, num_configs=ns, budgets=self.budgets[(-s - 1):],
                                  config_sampler=self.config_generator.get_config, **iteration_kwargs))
BO-HB uses (just like Hyperband) SuccessiveHalving for each iteration.
            See Li et al. (2016) for reference.

            Parameters:
            -----------
                iteration: int
                    the index of the iteration to be instantiated

            Returns:
            --------
                SuccessiveHalving: the SuccessiveHalving iteration with the
                    corresponding number of configurations
BO-HB uses (just like Hyperband) SuccessiveHalving for each iteration.
            See Li et al. (2016) for reference.
BO - HB uses ( just like Hyperband ) SuccessiveHalving for each iteration . See Li et al . ( 2016 ) for reference .
def get_next_iteration(self, iteration, iteration_kwargs={}):
        """
            BO-HB uses (just like Hyperband) SuccessiveHalving for each iteration.
            See Li et al. (2016) for reference.

            Parameters:
            -----------
                iteration: int
                    the index of the iteration to be instantiated

            Returns:
            --------
                SuccessiveHalving: the SuccessiveHalving iteration with the
                    corresponding number of configurations
        """

        # number of 'SH rungs'
        s = self.max_SH_iter - 1 - (iteration % self.max_SH_iter)
        # number of configurations in that bracket
        n0 = int(np.floor((self.max_SH_iter) / (s + 1)) * self.eta ** s)
        ns = [max(int(n0 * (self.eta ** (-i))), 1) for i in range(s + 1)]

        return (SuccessiveHalving(HPB_iter=iteration, num_configs=ns, budgets=self.budgets[(-s - 1):],
                                  config_sampler=self.config_generator.get_config, **iteration_kwargs))
def get_next_iteration ( self , iteration , iteration_kwargs = { } ) : # number of 'SH rungs' s = self . max_SH_iter - 1 - ( iteration % self . max_SH_iter ) # number of configurations in that bracket n0 = int ( np . floor ( ( self . max_SH_iter ) / ( s + 1 ) ) * self . eta ** s ) ns = [ max ( int ( n0 * ( self . eta ** ( - i ) ) ) , 1 ) for i in range ( s + 1 ) ] return ( SuccessiveHalving ( HPB_iter = iteration , num_configs = ns , budgets = self . budgets [ ( - s - 1 ) : ] , config_sampler = self . config_generator . get_config , * * iteration_kwargs ) )