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

Score-based density estimators for SBI #1015

Merged
merged 26 commits into from
Aug 27, 2024

docs: add fmpe to tutorials, fix docstrings

bc00bd5
Select commit
Loading
Failed to load commit list.
Merged

Score-based density estimators for SBI #1015

docs: add fmpe to tutorials, fix docstrings
bc00bd5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 27, 2024 in 0s

78.20% (target 70.00%)

View this Pull Request on Codecov

78.20% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 93.56110% with 49 lines in your changes missing coverage. Please review.

Project coverage is 78.20%. Comparing base (b3254ed) to head (bc00bd5).
Report is 12 commits behind head on main.

Files Patch % Lines
sbi/neural_nets/estimators/score_estimator.py 92.50% 12 Missing ⚠️
sbi/samplers/score/correctors.py 52.17% 11 Missing ⚠️
sbi/samplers/score/score.py 85.18% 8 Missing ⚠️
sbi/inference/npse/npse.py 96.47% 5 Missing ⚠️
sbi/neural_nets/score_nets.py 95.23% 5 Missing ⚠️
sbi/inference/posteriors/score_posterior.py 95.52% 3 Missing ⚠️
sbi/inference/potentials/score_based_potential.py 97.01% 2 Missing ⚠️
sbi/inference/base.py 83.33% 1 Missing ⚠️
sbi/inference/potentials/base_potential.py 50.00% 1 Missing ⚠️
sbi/samplers/score/predictors.py 97.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1015      +/-   ##
==========================================
- Coverage   85.44%   78.20%   -7.24%     
==========================================
  Files         101      110       +9     
  Lines        7941     8632     +691     
==========================================
- Hits         6785     6751      -34     
- Misses       1156     1881     +725     
Files Coverage Δ
sbi/analysis/tensorboard_output.py 86.41% <100.00%> (ø)
sbi/inference/__init__.py 100.00% <100.00%> (ø)
sbi/inference/fmpe/fmpe_base.py 94.28% <100.00%> (-0.06%) ⬇️
sbi/inference/npse/__init__.py 100.00% <100.00%> (ø)
sbi/inference/posteriors/base_posterior.py 85.88% <100.00%> (-0.17%) ⬇️
sbi/inference/posteriors/direct_posterior.py 98.79% <100.00%> (ø)
sbi/inference/posteriors/mcmc_posterior.py 85.93% <100.00%> (-0.77%) ⬇️
...inference/potentials/likelihood_based_potential.py 100.00% <100.00%> (ø)
.../inference/potentials/posterior_based_potential.py 95.34% <100.00%> (ø)
sbi/inference/snle/snle_base.py 93.87% <100.00%> (ø)
... and 34 more

... and 22 files with indirect coverage changes