HpBandSter icon indicating copy to clipboard operation
HpBandSter copied to clipboard

Hyperband bracket generation is inconsistent with the original Hyperband paper

Open nabenabe0928 opened this issue 1 year ago • 1 comments

The BOHB paper says that each SH bracket samples $n = \lceil \frac{s_{\max} + 1}{s + 1} \eta^s \rceil$ configurations; however, this line samples $n = \lfloor\lfloor \frac{s_{\max} + 1}{s + 1} \rfloor \eta^s\rfloor$ configurations. In reality, this line should be:

n0 = int(np.ceil(self.max_SH_iter / (s + 1) * self.eta ** s))

Note that self.max_SH_iter is $s_{\max} + 1$.

nabenabe0928 avatar Apr 18 '23 18:04 nabenabe0928

This repo is no longer maintained.

Neeratyoy avatar Apr 19 '23 09:04 Neeratyoy