-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Use unit normal as default init_dist in GaussianRandomWalk and AR #5779
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5779 +/- ##
==========================================
- Coverage 89.27% 89.27% -0.01%
==========================================
Files 74 74
Lines 13813 13809 -4
==========================================
- Hits 12332 12328 -4
Misses 1481 1481
|
Should we issue a warning that the default behavior changed from being a Flat in V3 to being a unit Normal? Edit: Added it to the release notes at least |
Didn't we default to |
@twiecki The problem with flat is that you can't do prior and posterior predictive with it. You couldn't do this before with AR ofc. The GRW did not respect the init dist and just assumed the initial point was zero, regardless of what the distribution was. That was just broken behavior imo. We can make the default Flat, but users will perhaps be upset when their model can't be used for posterior predictive after sampling. I don't have a strong preference. |
That's a good point. How about a SD of 10? I know it's arbitrary, but not more arbitrary than 1. And maybe add a note that it's important for the user to test. |
Hm, but why can't we do posterior predictive with Flat? We still get a non-flat posterior for the initial dist? |
If the GRW is the likelihood, posterior predictive will try to resample it using forward sampling, which it can't because of the |
We can also just remove the default behavior and force users to always specify the |
Closes #5744