-
Notifications
You must be signed in to change notification settings - Fork 335
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
Slice sampler shrank to zero #9
Comments
Aha, is it possible that your code is returning NaNs or infs? This error basically means that the sampling algorithm is not finding any reasonably valid setting for the hyperparameters (e.g. everything returns a NaN). Would you mind trying to set the categorical parameters to ints (with two values) and seeing if that changes anything? Jasper |
I haven't had time to re-run this yet but I notice you put a fix in for cases where the first two results are the same. Was the fix for this issue? I suspect my values don't change for some large parts of parameter-space. |
I fetch/merged your latest changes and switched the categorical parameters to ints. Now I get a different error after two evaluations (-0.775600 and -0.790467) have completed:
My config is:
and I'm running spearmint with these options:
|
I've since changed the max value for BGPRIOR from 0.9999999 to 0.99 and spearmint seems happier now. |
Is there a known solution to the "Slice sampler shrank to zero" error? Many of my variables are log-domain, like 0.0001-0.1. I'm considering making the variable an exponent (the spearmint parameter is -5 to -1, and I use it as 10^parameter in the script). |
Ah, so there are solutions that will be rolled out hopefully very shortly, It is definitely a good idea to log transform your parameters if you think On Thu, Jan 9, 2014 at 5:13 PM, Quanticles [email protected] wrote:
|
Deleting the *Chooser.pkl file worked for me. My cleaning script wasn't removing it properly due to a bug in VMWare Workstation. Thanks for continuing to maintain the code and whatnot |
I'm trying a relatively vanilla optimisation over 9 dimensions, 5 of which are categorical (2 values), the other numeric. I'm getting the following exception:
Exception: Slice sampler shrank to zero!
in
File "/home/john/src/spearmint/spearmint/spearmint/util.py", line 69, in direction_slice
What does it mean and do you have any ideas what I can do to get around this? I've tried with and without noise. I'm using GPEIOptChooser with a local driver, max concurrent of 1
Thanks,
John.
The text was updated successfully, but these errors were encountered: