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

Refactor to support new diagnostics #62

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Refactor to support new diagnostics #62

wants to merge 32 commits into from

Conversation

sethaxen
Copy link
Member

The latest version of the PSIS paper added new diagnostics in addition to the Pareto shape diagnostic. The new diagnostics are detailed in stan-dev/posterior#237.

This PR adds these diagnostics. It additionally will completely refactor the codebase to separate diagnosing from smoothing. In particular, it adds pareto_diagnose and pareto_smooth. The former simply computes all diagnostics for the specified tails, while the latter both computes diagnostics for the tails but also smooths them.

Fixes #26. Relates #21.

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

Attention: 68 lines in your changes are missing coverage. Please review.

Comparison is base (3e6e5ec) 97.44% compared to head (3ff48a4) 78.07%.

❗ Current head 3ff48a4 differs from pull request most recent head 77a5983. Consider uploading reports for the commit 77a5983 to get more accurate results

Files Patch % Lines
src/pareto_diagnose.jl 0.00% 57 Missing ⚠️
src/diagnostics.jl 0.00% 11 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #62       +/-   ##
===========================================
- Coverage   97.44%   78.07%   -19.38%     
===========================================
  Files           6        8        +2     
  Lines         274      342       +68     
===========================================
  Hits          267      267               
- Misses          7       75       +68     

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

src/core.jl Outdated Show resolved Hide resolved
src/recipes/plots.jl Outdated Show resolved Hide resolved
@arviz-devs arviz-devs deleted a comment from coderabbitai bot Aug 19, 2024
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.

Allow diagnosing without smoothing
1 participant