-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
[WIP] fix hdi false positive warning #1241
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1241 +/- ##
===========================================
+ Coverage 78.27% 93.14% +14.87%
===========================================
Files 98 98
Lines 9726 9721 -5
===========================================
+ Hits 7613 9055 +1442
+ Misses 2113 666 -1447
Continue to review full report at Codecov.
|
Thanks for fixing this! I had it on my to do list for weeks now and never
found the time 🤦♂️
Will review tomorrow 👌
Le dim. 14 juin 2020 à 00:47, codecov[bot] <[email protected]> a
écrit :
… Codecov <https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=h1>
Report
Merging #1241
<https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=desc> into
master
<https://codecov.io/gh/arviz-devs/arviz/commit/31aac4c1084e40b99da0024218431a800ba222c9&el=desc>
will *increase* coverage by 0.00%.
The diff coverage is 87.50%.
[image: Impacted file tree graph]
<https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=tree>
@@ Coverage Diff @@
## master #1241 +/- ##
=======================================
Coverage 93.16% 93.16%
=======================================
Files 98 98
Lines 9714 9715 +1
=======================================
+ Hits 9050 9051 +1
Misses 664 664
Impacted Files
<https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=tree> Coverage
Δ
arviz/plots/hdiplot.py
<https://codecov.io/gh/arviz-devs/arviz/pull/1241/diff?src=pr&el=tree#diff-YXJ2aXovcGxvdHMvaGRpcGxvdC5weQ==> 83.01%
<0.00%> (-0.91%) ⬇️
arviz/stats/stats.py
<https://codecov.io/gh/arviz-devs/arviz/pull/1241/diff?src=pr&el=tree#diff-YXJ2aXovc3RhdHMvc3RhdHMucHk=> 96.23%
<100.00%> (+0.02%) ⬆️
------------------------------
Continue to review full report at Codecov
<https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=continue>.
*Legend* - Click here to learn more
<https://docs.codecov.io/docs/codecov-delta>
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov
<https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=footer>. Last
update 31aac4c...032429b
<https://codecov.io/gh/arviz-devs/arviz/pull/1241?src=pr&el=lastupdated>.
Read the comment docs <https://docs.codecov.io/docs/pull-request-comments>
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1241 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHIJMTG67JF42TGWWVQQRY3RWP6YVANCNFSM4N5FMMZQ>
.
|
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.
Looks nice! Just added some comments 😉
hdi itself calls warp_xarray_ufunc 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.
All looks good now, thanks @OriolAbril 👌
Co-authored-by: Alexandre ANDORRA <[email protected]>
Ready to merge, if nobody complains I'll merge tomorrow |
I guess there are a couple points that could be a bit more problematic:
Extra easter egg: now |
That looks good to me 👌 Can be included in 0.8.4 |
Description
hdi used to support 2d data at most, so
plot_hdi
converted the data to 2d. Thanks to #1117 this is not necessary anymore and triggers this warning.I have also done a couple of updates to
summary
also as a followup of #1117. I want to note that nowaz.hdi
andxr.Dataset.quantile
return an object with the same format and we can therefore use the same pattern as hdi now uses to report also equal tail intervals.Checklist