-
Notifications
You must be signed in to change notification settings - Fork 161
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
Integrate PyMC samplers and clean up unsued MCMC sampler #1053
Conversation
…nto 987-pymc-interface
@famura it should be in decent shape for you to check over now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great progress
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all looks good to me, but I'm biased :) would maybe be best to get another review also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Conflicts: # tests/mcmc_slice_pyro/test_slice.py # tests/mcmc_test.py # tests/posterior_sampler_test.py
@felixp8 please have a look at the state after the merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates!
I added a couple of suggestion for the thin
doc strings. Sorry for the causing confusion here..
Forking can be 20x faster for multiprocessing but works only on
Thus, I think it would be good to expose it so that users can use |
... and it doesn't work with CUDA afaik |
makes sense, happy to quickly patch that in unless you're already on it @famura |
Co-authored-by: Jan <[email protected]>
Co-authored-by: Jan <[email protected]>
no, please go ahead @felixp8 |
added support for setting |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1053 +/- ##
==========================================
+ Coverage 76.37% 76.89% +0.51%
==========================================
Files 84 89 +5
Lines 6507 6591 +84
==========================================
+ Hits 4970 5068 +98
+ Misses 1537 1523 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
|
What does this implement/fix? Explain your changes
Integrate the mighty MCMC samplers from PyMC.
Remove unused MCMC samplers.
Does this close any currently open issues?
Fixes #987 and partially #986
Any relevant code examples, logs, error output, etc?
...
Any other comments?
Currently the
MCMC
classsbi.samplers.sample.mcmc.mcmc.py
is only used in the testChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.
guidelines
with
pytest.mark.slow
.guidelines
main
(or there are no conflicts withmain
)