-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Docstring update to pymc.DiscreteUniform #6288
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
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6288 +/- ##
==========================================
+ Coverage 93.30% 94.30% +0.99%
==========================================
Files 111 111
Lines 23809 23809
==========================================
+ Hits 22216 22452 +236
+ Misses 1593 1357 -236
|
* Add a few missing type imports * Trade assert with assignment to keep mypy happy * Add a few type annotations * Add missing return type for __call__ * Switch comment type declaration to raw * Get operators.py to pass * Fix pymc.backends.report * Fix a bunch of typing issues * Import __future__.annotations to fix "| None" * Update pymc/step_methods/hmc/integration.py * Add __future__.annotations to hmc.py * Remove unused Any import * Don't cast float to np.array * Replace 0 with 0.0 for float zeros * Update pymc/step_methods/hmc/nuts.py Closes pymc-devs#6282 Co-authored-by: Adrian Seyboldt <[email protected]> Co-authored-by: Michael Osthege <[email protected]>
* tests for added sample statistics * sample stats test with more draws * redesigned test for older blackjax version * record blackjax sample stats * moved sample stats argument to partial call
* improve random seed processing * improve type-hint
|
This looks good, but it looks like we have some more distributions with the same problem - at least Categorical and the ZeroInflatedBinomial are missing the @hyosubkim could you go through them and fix it there too? |
* remove dups, add type hints, and docstrings * replacing references to old code * reorder and reword * deprecate the "test_point" method * fix NameError. got to work locally
Merge branch 'docstring_update' of github.com:hyosubkim/pymc into docstring_update
|
@michaelosthege - I made the suggested fixes. Sorry for all the commits--I was running into some issues because my branch wasn't caught up to the remote and wasn't sure how to fix correctly at first. |
|
superseded by #6301 if I'm not mistaken |
|
Yes, that's right. |
What is this PR about?
Added close-figs context and edited parameter descriptions.
Checklist
Major / Breaking Changes
Bugfixes / New features
Docs / Maintenance