Skip to content

PyMC implementation of WALNUTS sampler #530

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
wants to merge 2 commits into from

Conversation

fonnesbeck
Copy link
Member

First pass at implementing WALNUTS, partly as a learning opportunity. It runs with pm.sample but does not yet produce a good sample. Still lots of work to do.

@twiecki
Copy link
Member

twiecki commented Jun 27, 2025

Ref pymc-devs/nuts-rs#36

@fonnesbeck
Copy link
Member Author

I favor @aseyboldt's implementation over mine. Closing.

@fonnesbeck fonnesbeck closed this Jun 27, 2025
@twiecki
Copy link
Member

twiecki commented Jun 27, 2025

I feel I rained on your walnut parade 🙈

@fonnesbeck
Copy link
Member Author

Not at all. This was 80% me wanting to learn the algo. I suppose we could still have a PyMC implementation and a Rust implementation, but for now probably best to focus on the better one.

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.

2 participants