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

New file structure for neural networks #1237

Merged
merged 6 commits into from
Aug 27, 2024

raise ImportError for embedding nets

7c2e945
Select commit
Loading
Failed to load commit list.
Merged

New file structure for neural networks #1237

raise ImportError for embedding nets
7c2e945
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 27, 2024 in 0s

78.21% (target 70.00%)

View this Pull Request on Codecov

78.21% (target 70.00%)

Details

Codecov Report

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

Project coverage is 78.21%. Comparing base (04c7b04) to head (7c2e945).

Files Patch % Lines
sbi/neural_nets/__init__.py 57.14% 6 Missing ⚠️
sbi/neural_nets/embedding_nets/fully_connected.py 84.61% 2 Missing ⚠️
...eural_nets/embedding_nets/permutation_invariant.py 96.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1237      +/-   ##
==========================================
- Coverage   86.11%   78.21%   -7.90%     
==========================================
  Files         110      114       +4     
  Lines        8635     8662      +27     
==========================================
- Hits         7436     6775     -661     
- Misses       1199     1887     +688     
Files Coverage Δ
sbi/inference/fmpe/fmpe_base.py 94.33% <100.00%> (+0.05%) ⬆️
...inference/potentials/likelihood_based_potential.py 100.00% <100.00%> (ø)
sbi/inference/snle/mnle.py 85.36% <100.00%> (-7.32%) ⬇️
sbi/inference/snle/snle_base.py 93.93% <100.00%> (+0.06%) ⬆️
sbi/inference/snpe/snpe_base.py 91.66% <100.00%> (+0.04%) ⬆️
sbi/neural_nets/embedding_nets/__init__.py 100.00% <100.00%> (ø)
sbi/neural_nets/embedding_nets/cnn.py 100.00% <100.00%> (ø)
sbi/neural_nets/estimators/__init__.py 100.00% <100.00%> (ø)
sbi/neural_nets/estimators/score_estimator.py 92.89% <100.00%> (+0.39%) ⬆️
sbi/neural_nets/estimators/shape_handling.py 91.66% <ø> (ø)
... and 12 more

... and 25 files with indirect coverage changes