blackjax-devs / blackjax

BlackJAX is a Bayesian Inference library designed for ease of use, speed and modularity.
https://blackjax-devs.github.io/blackjax/
Apache License 2.0
806 stars 105 forks source link

Losen the input requirement for ess computation. #609

Closed junpenglao closed 10 months ago

junpenglao commented 10 months ago

The effective_sample_size implementation already contain safeguarding to compute ess when num_chain == 1 close #608

cc @reubenharry

codecov[bot] commented 10 months ago

Codecov Report

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

Comparison is base (039b277) 99.16% compared to head (820bc26) 99.16%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #609 +/- ## ======================================= Coverage 99.16% 99.16% ======================================= Files 54 54 Lines 2511 2513 +2 ======================================= + Hits 2490 2492 +2 Misses 21 21 ```

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