Skip to content
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

Add Censored distribution #372

Merged
merged 2 commits into from
Mar 23, 2024
Merged

Conversation

aloctavodia
Copy link
Contributor

@aloctavodia aloctavodia commented Mar 23, 2024

This adds a censored distribution, the moments are not implemented although there are general expressions for them. The same for the entropy. That will be implemented in another PR. Some test are included, but there is space to improve them.

@codecov-commenter
Copy link

codecov-commenter commented Mar 23, 2024

Codecov Report

Attention: Patch coverage is 91.17647% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 82.50%. Comparing base (4e9ae8e) to head (b2d3507).
Report is 1 commits behind head on main.

Files Patch % Lines
preliz/distributions/censored.py 85.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
+ Coverage   82.29%   82.50%   +0.20%     
==========================================
  Files          58       60       +2     
  Lines        5388     5486      +98     
==========================================
+ Hits         4434     4526      +92     
- Misses        954      960       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aloctavodia aloctavodia merged commit ebf3a96 into arviz-devs:main Mar 23, 2024
4 checks passed
@aloctavodia aloctavodia deleted the censored branch March 23, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants