-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
metropolis broken in 3.1rc2 with theano 0.9? #1994
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
Comments
It looks to me like intercept gets initialized to -128 for some reason, and can't move from there (which seems reasonable, since having a probability of 0 will cause mischief in the metropolis acceptance calculation). This isn't a fix, but just expanding the lower bound on the intercept to include -128 fixes the problem as well: Beautiful styling on that page, by the way! |
Thanks! The thing is, this used to work on 3.0. Thats the part thats confusing...And the uniform prior ought to make a slow sampler, but i do run this for a huge number of iterations! Its a bit bizarre that initialization is happening outside the range. When i ran it i got an additional warning I hadnt seen before:
|
@rahuldave Does setting a test_value help? |
The problem seems to be that the |
@rahuldave Can you update to master and check if the problem is fixed? |
The model defined here: https://am207.github.io/2017/wiki/reguninfprior.html which itself is taken from Vanderplas's example in the getting started docs, with a metropolis step replacing the NUTS sampler is broken in 3.1rc2. It used to work in 3.0rc4
The intercept just wont budge from its initial value.
Discovered this in trying to do a theano shared for
sample_ppc
, which itself seems broken...The text was updated successfully, but these errors were encountered: