Skip to content

Termination criterion for nuts #1787

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

Closed
aseyboldt opened this issue Feb 14, 2017 · 2 comments
Closed

Termination criterion for nuts #1787

aseyboldt opened this issue Feb 14, 2017 · 2 comments

Comments

@aseyboldt
Copy link
Member

aseyboldt commented Feb 14, 2017

While reading through the stan code to double check the new implementation of multinomial sampling, I noticed that the termination criterion in stan is different to the one in pymc3. There have been recent changes in stan (stan-dev/stan#1854, stan-dev/stan#2180), but even in the older code ("classic nuts") it is different. pymc3 fails to take into account the metric and always assumes a unit mass matrix. This is probably because the original paper on nuts used the standard euclidean space.

@twiecki
Copy link
Member

twiecki commented Feb 14, 2017

Yes, we haven't tracked their changes consistently. Should definitely bring our NUTS as much in sync with theirs as possible.

@aseyboldt
Copy link
Member Author

This was fixed in #1769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants