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

Use default keyword arguments when sampling from Sampler #1187

Merged
merged 3 commits into from
Mar 27, 2020

Conversation

devmotion
Copy link
Member

This PR adds support for default keyword arguments when calling, e.g., sample(model, Sampler(ESS(), model), 100) by making use of the newly introduced AbstractMCMC.mcmcsample and AbstractMCMC.mcmcpsample that contain the core sampling logic.

@cpfiffer cpfiffer merged commit 15e9528 into TuringLang:master Mar 27, 2020
@devmotion devmotion deleted the mcmcsample branch March 27, 2020 13:38
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