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

Support Turing's externalsampler interface, return Transition instead of raw samples. #1

Merged
merged 6 commits into from
May 24, 2024

Conversation

Red-Portal
Copy link
Member

@Red-Portal Red-Portal commented May 23, 2024

This PR makes SliceSampling compatible with Turing models through the externalsampler interface. Also, it changes the interface such that AbstractMCMC.sample returns a Transition object instead of raw samples (Vectors), which makes it more consistent with other packages implementing AbstractMCMC.

@Red-Portal Red-Portal merged commit 7969ff1 into TuringLang:main May 24, 2024
10 checks passed
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