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

A draft PR on the removal of Algorithm classes. variant 2 #658

Closed

Conversation

ciguaran
Copy link
Contributor

Same as #657 but avoids creating an intermediate object, at the cost of not being able to call directly blackjax.hmc() and having
to do blackjax.hmc.as_sampling_algorithm(). I don't think this is terrible since we are making the SamplingAlgorithm abstraction more explicit. Since the hmc gets exposed by blackjax.py, it can be passed around (for example in tests).

@ciguaran
Copy link
Contributor Author

Closing this one (see discussion here #659)

@ciguaran ciguaran closed this Apr 19, 2024
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.

1 participant