-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 does not converge in simple MvNormal prior model #5815
Comments
Well, Metropolis is even worse? changing to # Very bad, the second mean seems to be consistently biased
print(expected_mean, trace["x"].mean(axis=0))
# [-0.1 0.5 1.1] [ 0.29549842 -14.04723709 1.09591073]
# Also poor
print(expected_std, trace["x"].std(axis=0))
# [ 0.56672996 10.00041321 0.18181818] [0.53156382 4.79229857 0.18407155] Edit: Metropolis can cope if we pass an appropriate |
What do the traces look like? |
I understand the default Metropolis has one single proposal distribution (?), but the Slice should propose values independently per dimension, so I don't understand why is it still biased.
|
I think I found a bug in the Slice sampler. It is no longer biased after fixing it |
The number of draws was set too high to accommodate the worst / buggy samplers (see pymc-devs#5815)
The number of draws was set too high to accommodate the worst / buggy samplers (see pymc-devs#5815)
The number of draws was set too high to accommodate the worst / buggy samplers (see pymc-devs#5815)
The number of draws was set too high to accommodate the worst / buggy samplers (see pymc-devs#5815)
The number of draws was set too high to accommodate the worst / buggy samplers (see pymc-devs#5815)
The number of draws was set too high to accommodate the worst / buggy samplers (see pymc-devs#5815)
The number of draws was set too high to accommodate the worst / buggy samplers (see #5815)
This example is taken from the step_tests here:
pymc/pymc/tests/test_step.py
Line 89 in 4d2f3a8
Please provide a minimal, self-contained, and reproducible example.
This was also the case in V3: https://colab.research.google.com/drive/1Pw7a-1J-bnb4dPsPvxwuWH6TdFENYb5m?usp=sharing
The text was updated successfully, but these errors were encountered: