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

Procedure for Changing Parameter Range #38

Open
cancan101 opened this issue Oct 21, 2014 · 6 comments
Open

Procedure for Changing Parameter Range #38

cancan101 opened this issue Oct 21, 2014 · 6 comments

Comments

@cancan101
Copy link
Contributor

Allow for changing the range over which a given parameter is experimented.

This might "just work" now with main being restarted with a different range.

Similar to #35.

@JasperSnoek
Copy link
Owner

Unfortunately, this definitely will not work correctly if you restart main
with a different range. This would require either writing scripts to
extract the old range and create a new experiment or rewriting some of the
internals of spearmint.

On Tue, Oct 21, 2014 at 1:41 PM, Alex Rothberg [email protected]
wrote:

Allow for changing the range over which a given parameter is experimented.

This might "just work" now with main being restarted with a different
range.

Similar to #35 #35.


Reply to this email directly or view it on GitHub
#38.

@JasperSnoek
Copy link
Owner

Note that this is fixed in the new spearmint repo (https://github.com/HIPS/Spearmint)

@taion
Copy link

taion commented Oct 21, 2014

Is this purely because the parameters are decoded with e.g.

variable['min'] + u[index]*(variable['max']-variable['min'])

@JasperSnoek
Copy link
Owner

Yes and the parameters and jobs are stored within the grid object in the
unit hypercube (encoded).

On Tue, Oct 21, 2014 at 3:03 PM, Jimmy Jia [email protected] wrote:

Is this purely because the parameters are decoded with e.g.

variable['min'] + u[index]*(variable['max']-variable['min'])


Reply to this email directly or view it on GitHub
#38 (comment)
.

@cancan101
Copy link
Contributor Author

So in order to convert a saved pickle file, I would have to:
0) Stop all running jobs and stop main.py

  1. Modify: expt-grid.pkl/vmap/variables
  2. Rescale: expt-grid.pkl/grid
  3. Change the: config.pb file

Is that it, or am I missing something?

@JasperSnoek
Copy link
Owner

Yeah I think that's it!

On Tue, Oct 21, 2014 at 4:01 PM, Alex Rothberg [email protected]
wrote:

So in order to convert a saved pickle file, I would have to:
0) Stop all running jobs and stop main.py

  1. Modify: expt-grid.pkl/vmap/variables
  2. Rescale: expt-grid.pkl/grid
  3. Change the: config.pb file

Is that it, or am I missing something?


Reply to this email directly or view it on GitHub
#38 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants