wzhorton / PolyaGammaHybridSamplers.jl

A hybrid sampler for the Pólya-Gamma distribution in Julia, implementing multiple algorithms for efficient sampling.
GNU General Public License v3.0
2 stars 0 forks source link

Feature gamma sum sampler #3

Closed wzhorton closed 1 year ago

wzhorton commented 1 year ago

Updates:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 60.86% and project coverage change: -3.75 :warning:

Comparison is base (0b47c62) 88.84% compared to head (bce38fa) 85.10%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3 +/- ## ========================================== - Coverage 88.84% 85.10% -3.75% ========================================== Files 5 6 +1 Lines 269 282 +13 ========================================== + Hits 239 240 +1 - Misses 30 42 +12 ``` | [Impacted Files](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/PolyaGammaHybridSamplers.jl](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL1BvbHlhR2FtbWFIeWJyaWRTYW1wbGVycy5qbA==) | `100.00% <ø> (ø)` | | | [src/rand\_pgdevroye.jl](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3JhbmRfcGdkZXZyb3llLmps) | `94.44% <0.00%> (-5.56%)` | :arrow_down: | | [src/rand\_pggammasum.jl](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3JhbmRfcGdnYW1tYXN1bS5qbA==) | `0.00% <0.00%> (ø)` | | | [src/rand\_pgsaddlepoint.jl](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3JhbmRfcGdzYWRkbGVwb2ludC5qbA==) | `86.73% <33.33%> (-0.52%)` | :arrow_down: | | [src/rand\_pgnormalapprox.jl](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3JhbmRfcGdub3JtYWxhcHByb3guamw=) | `66.66% <50.00%> (-33.34%)` | :arrow_down: | | [src/pghybrid.jl](https://app.codecov.io/gh/wzhorton/PolyaGammaHybridSamplers.jl/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3BnaHlicmlkLmps) | `91.17% <89.28%> (+6.80%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.