-
-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding Inline example for psislw and r2_score. #1129
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1129 +/- ##
==========================================
+ Coverage 92.67% 92.81% +0.13%
==========================================
Files 93 93
Lines 9097 9181 +84
==========================================
+ Hits 8431 8521 +90
+ Misses 666 660 -6
Continue to review full report at Codecov.
|
arviz/stats/stats.py
Outdated
|
||
Examples | ||
-------- | ||
Get Pareto smoothed importance sampling (PSIS): |
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.
Get Pareto smoothed importance sampling (PSIS) log weights.
We should also add a reference, i.e. https://arxiv.org/abs/1507.02646 (see ess
function for an example on the References section)
Looks good, after addressing the reference issue, this is ready. |
Description
psislw and r2_score functions in stats.py did not have any inline examples. This PR adds inline example to these methods and addresses issue #1057.
Checklist