-
Notifications
You must be signed in to change notification settings - Fork 247
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
Make figure in AR2 example reproducible #1816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @damonbayer!
CI checks should now pass. Sorry about that. |
examples/ar2.py
Outdated
@@ -64,8 +64,6 @@ def transition(carry, _): | |||
with numpyro.handlers.condition(data={"y": y[2:]}): | |||
_, mu = scan(transition, init, timesteps) | |||
|
|||
numpyro.deterministic("mu", mu) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No 🤦♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 8ebbaa7
@fehiepsi I don't think any of the test failures are related to my contribution. Please let me know if you disagree. |
Yes they are unrelated - @juanitorduz is working on them in #1817 |
@damonbayer Could you sync with master? They are fixed upstream. |
@fehiepsi Fork is synced! |
This PR adds back in code to produce the ar2 plot in the ar2 example. This is based on the code that was removed in #1350. It was last available in https://github.com/pyro-ppl/numpyro/blob/c5b1a9229daf964a98eb12a8ad905e0d0a6c9437/examples/ar2.py.
The figure was generated with:
Closes #1815.