Skip to content
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

Refactor NUTS and make more descriptive #1653

Merged
merged 1 commit into from Jan 8, 2017

Conversation

ColCarroll
Copy link
Member

Notice that this change doesn't change the samples at all (in particular test_step.py is unchanged and passes), and does not meaningfully change the code flow.

Other than changing variable names, the biggest change is that since buildtree only expands a tree in a single direction, it only returns the new position and momentum in that direction.

@twiecki
Copy link
Member

twiecki commented Jan 8, 2017

This looks like a good change to me.

@twiecki twiecki merged commit 7053e43 into pymc-devs:3.1 Jan 8, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants