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

Update example in docstring of HybridGibbs #511

Closed
1 of 2 tasks
chaozg opened this issue Sep 10, 2024 · 0 comments · Fixed by #521
Closed
1 of 2 tasks

Update example in docstring of HybridGibbs #511

chaozg opened this issue Sep 10, 2024 · 0 comments · Fixed by #521
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@chaozg
Copy link
Contributor

chaozg commented Sep 10, 2024

samples = sampler.sample(Ns=1000, Nb=200)
should be updated to something like

sampler.warmup(200)
sampler.sample(1000)
samples = sampler.get_samples()

Definition of Done

  • Correct use if sampler API implemented in example
  • Change is reviewed and approved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants