-
Notifications
You must be signed in to change notification settings - Fork 223
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
NUTS adapatation samples appear in full chain #635
Comments
The links are no longer correct. |
I think it's not expected behaviour. I'm currently looking into the NUTS code. I'll create a PR on this and on some minor performance improvements. |
No, MCMCChains still does not have any internals to catch adaptation samples. I'm wondering if we should fix this on the Turing side by defaulting to only return the post-warmup samples, and discarding the adaptation samples unless the user specifically requests them (using a keyword like |
As a beginner attempting to reproduce the resuts of a simple linear model from Stan, I was surprised to the see the warmup samples included in the summary stats. I expected them to have been removed. |
Excluding warmup samples from chains sounds reasonable. In the longer term, we might need an argument for the |
I've opened up a PR Turing-side to fix this: #784 |
It looks like the samples from the
NUTS
adaptation phase are being included in the full chain. Is this expected behavior? If not, we need some kind of infrastructure in place to separate out the adaptation samples from the chains so that parameter estimates are more appropriate.Let me know if this needs to be moved over to MCMCChains.
The text was updated successfully, but these errors were encountered: