Skip to content

feat(mdn): implement transform_to_unconstrained z-scoring for MDN#1888

Merged
janfb merged 12 commits into
sbi-dev:mainfrom
BHARATH0153:main
Jun 26, 2026
Merged

feat(mdn): implement transform_to_unconstrained z-scoring for MDN#1888
janfb merged 12 commits into
sbi-dev:mainfrom
BHARATH0153:main

restore inline comments in log_prob per review

2545833
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 26, 2026 in 1s

87.86% (target 70.00%)

View this Pull Request on Codecov

87.86% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 78.57143% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.86%. Comparing base (c444a92) to head (2545833).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
sbi/inference/trainers/npe/npe_a.py 0.00% 2 Missing ⚠️
sbi/inference/trainers/npe/npe_c.py 50.00% 1 Missing ⚠️
...eural_nets/estimators/mixture_density_estimator.py 93.33% 1 Missing ⚠️
sbi/neural_nets/net_builders/mdn.py 85.71% 1 Missing ⚠️
sbi/utils/conditional_density_utils.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1888      +/-   ##
==========================================
- Coverage   87.90%   87.86%   -0.04%     
==========================================
  Files         143      143              
  Lines       13366    13387      +21     
==========================================
+ Hits        11749    11763      +14     
- Misses       1617     1624       +7     
Files with missing lines Coverage Δ
sbi/inference/posteriors/npe_a_posterior.py 56.81% <ø> (ø)
sbi/inference/trainers/npe/npe_c.py 93.20% <50.00%> (-0.55%) ⬇️
...eural_nets/estimators/mixture_density_estimator.py 91.76% <93.33%> (-0.12%) ⬇️
sbi/neural_nets/net_builders/mdn.py 96.42% <85.71%> (-3.58%) ⬇️
sbi/utils/conditional_density_utils.py 92.72% <50.00%> (-0.53%) ⬇️
sbi/inference/trainers/npe/npe_a.py 77.70% <0.00%> (-1.65%) ⬇️