ReactiveBayes / ExponentialFamily.jl

ExponentialFamily.jl is a Julia package that extends the functionality of Distributions.jl by providing a collection of exponential family distributions and customized implementations.
https://reactivebayes.github.io/ExponentialFamily.jl/
MIT License
12 stars 2 forks source link

Fix Chisq isproper #197

Closed Nimrais closed 2 months ago

Nimrais commented 3 months ago

This PR aims to fix https://github.com/ReactiveBayes/ExponentialFamily.jl/issues/195.

Chi-squared distribution is actually has the same density as $\mathcal{G}(\frac{\nu}{2}, 2)$. So the nature parameter can be easily extended to any number greater then -1.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.10%. Comparing base (1ccb394) to head (6cf17dd). Report is 15 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #197 +/- ## ========================================== - Coverage 80.22% 80.10% -0.13% ========================================== Files 39 39 Lines 3095 3096 +1 ========================================== - Hits 2483 2480 -3 - Misses 612 616 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.