-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Hyperband #3
Comments
Hi Thomas, Right now What do you think? Do you want to give it a shot? I should have some time in the next weeks to actively support you. |
@colligant - let me know if are you still interested in a working together on an implementation? If not (no worries), I would work on it during the Christmas season. |
Hey! Sorry about not getting back to you. I ended up deciding that trying to integrate hyperband into this package would take up too much of my work time, so I wrote a small python package to tune hyperparameters using the slurm workload manager (https://github.com/TravisWheelerLab/shopty). I should have a few days in mid January to work on this, but no worries if you want to get started sooner. |
Hi! Sorry for me taking so long. No worries. @ hyperband implementation: I just added 3 new search classes: from mle_hyperopt import HyperbandSearch
strategy = HyperbandSearch(real={"lrate": {"begin": 0.1,
"end": 0.5,
"prior": "uniform"}},
integer={"batch_size": {"begin": 1,
"end": 5,
"prior": "log-uniform"}},
categorical={"arch": ["mlp", "cnn"]},
search_config={"max_resource": 27,
"eta": 3},
seed_id=42,
verbose=True)
configs = strategy.ask()
# Get scores and a list of ckpts for later train continuation
...
strategy.tell(configs, scores, ckpts) You can find more info at the end of the colab notebook and in this example script. I will add some more explanatory text in the following days. Let me know what you think! |
@colligant - this is now featured in v0.0.5 Closing the issue for now. Feel free to reopen if you find a bug/something is missing. |
Hi! I was wondering if the Hyperband hyperparameter algorithm is something you want implemented.
I'm willing to spend some time working on it if there's interest.
The text was updated successfully, but these errors were encountered: