Skip to content
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

Move optimizer-related files to optimizer directory #14

Closed
mfeurer opened this issue Jan 22, 2014 · 0 comments
Closed

Move optimizer-related files to optimizer directory #14

mfeurer opened this issue Jan 22, 2014 · 0 comments

Comments

@mfeurer
Copy link
Contributor

mfeurer commented Jan 22, 2014

These are:

  • tpe.py
  • tpecall.py
  • smac.py
  • spearmint.py
  • randomtpe.py
KEggensperger added a commit that referenced this issue Feb 19, 2014
All tpe related files are now in HPOlib/optimizers/tpe/
There you find the parser, the *Default.cfg. and the .py. The config tells
where to find the optimizer source, which can be everywhere on a system

Calling HPO:

When you have only one optimizer in tpe
HPOlib-run -o tpe
of if having multiple optimizers
HPOlib-run -o tpe/hyperopt_august2013_mod
HPOlib-run -o tpe/hyperopt_aug
HPOlib-run -o tpe/anything_not_not_ambiguous

---

HPOlib/wrapping.py, HPOlib/wrapping_util.py:
 * Changes to adjust to new structure
 * FINALLY renamed optimizer_dir to optimizer_dir_in_experiment

HPOlib/check_before_start.py:
Add a check for the optimizer, which checks for
 * optimizer_parser
 * optimizer_Default.cfg
 * optimizer.py
KEggensperger added a commit that referenced this issue Feb 19, 2014
All tpe related files are now in HPOlib/optimizers/tpe/
There you find the parser, the *Default.cfg. and the .py. The config tells
where to find the optimizer source, which can be everywhere on a system

Calling HPO with randomtpe:

Now we have two optimizers in tpe
 HPOlib-run -o tpe # will fail
We can call
 HPOlib-run -o tpe/h
 HPOlib-run -o tpe/r

---

also added randomtpe to branin
KEggensperger added a commit that referenced this issue Feb 19, 2014
All smac related files are now in HPOlib/optimizers/smac/
There you find the parser, the *Default.cfg. and the .py. The config tells
where to find the optimizer source, which can be everywhere on a system

Calling HPO:

When you have only one optimizer in smac
HPOlib-run -o smac
of if having multiple optimizers
HPOlib-run -o smac/smac-v2_06_02-partial38
or
HPOlib-run -o smac/anything_not_not_ambiguous

---

HPOlib/benchmarks/branin/config.cfg:
 * Changed searchspace for smac
KEggensperger added a commit that referenced this issue Feb 19, 2014
All spearmint related files are now in HPOlib/optimizers/spearmint/
There you find the parser, the *Default.cfg. and the .py. The config tells
where to find the optimizer source, which can be everywhere on a system

Calling HPO with spearmint:

When you have only one version inf spearmint/
HPOlib-run -o spearmint
or if having multiple optimizers
HPOlib-run -o spearmint/spearmint_april2013_mod
HPOlib-run -o tpe/anything_not_not_ambiguous

---

From now on you can place the optimizer folder containing:
 * optimizer sources
 * optimizer_parser.py
 * optimizerDefault.cfg
 * optimizer.py
anywhere. Call your optimizer from experiment dir:

HPOlib-run -o /absolute/path/to/optimizer/folder[/maybe_some_version_info]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants