Closed aloctavodia closed 4 months ago
Attention: Patch coverage is 91.86992%
with 10 lines
in your changes are missing coverage. Please review.
Project coverage is 81.33%. Comparing base (
f659f65
) to head (e949e27
). Report is 11 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
preliz/distributions/hypergeometric.py | 88.76% | 10 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This adds hypergeometric distribution. Both the cdf and ppf are computed numerically. The ppf is off by one, not sure why as all other tests are passing. In the meantime, I am handling the hypergeometric as a special case.
This also updates the
find_ppf
function to make it work with discrete distributions.