Hyperband band indexes are off by one
See original GitHub issuewandb --version && python --version && uname
- Weights and Biases version: 0.9.7
- Python version: 3.7.9
- Operating System: Ubuntu 18.04LTS
Description
Using the hyperband early termination criterion for sweeps, you must specify where the “bands” are, which is how many iterations of the objective metric get reported before the algorithm considers whether or not to stop the run. They are an exponential series like 2,4,8,16, etc.
What I Did
If you configure the bands like:
early_terminate:
type: hyperband
min_iter: 2
eta: 2
Here, the bands should be configured for iterations 2, 4, 8, 16, etc. But instead of considering the 2nd, 4th, 8th, 16th metric reported, it considers the 3rd, 5th, 9th, 17th, etc. This is because the code takes the human-specified iteration numbers which are 1-based (e.g. “1” means the first iteration) and uses them as indexes into a python list, which is 0-based. code
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Hyperband band indexes are off by one · Issue #1237 - GitHub
Hi @cvphelps, any ideas on the schedule for this bug and whether sprcifying the max_iter field in the sweep config also yields incorrect...
Read more >HyperBand and BOHB: Understanding State of the Art ...
If you want to learn about state-of-the-art hyperparameter optimization algorithms (HPO), in this article I'll tell you what they are and ...
Read more >HYPERBAND: BANDIT-BASED CONFIGURATION EVAL
HYPERBAND is a principled early-stoppping method that adaptively allocates a pre- defined resource, e.g., iterations, data samples or number of features, to ...
Read more >Introduction to the Keras Tuner | TensorFlow Core
The Hyperband tuning algorithm uses adaptive resource allocation and early-stopping to quickly converge on a high-performing model. This is done using a sports ......
Read more >Hyperband: A Novel Bandit-Based Approach to ...
the best of our knowledge, this is also the first work to test out such an algorithm on a real application. 3. Hyperband...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
bug
to this issue, with a confidence of 0.73. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
In the past year we’ve majorly reworked the CLI and UI for Weights & Biases. We’re closing issues older than 6 months. Please comment to reopen.