Skip to content

Fix for z-scoring in vectorfield nets - #1681

Merged
janfb merged 1 commit into
mainfrom
npsefmpe-zscore
Oct 24, 2025
Merged

janfb merged 1 commit into
mainfrom
npsefmpe-zscore

Conversation

@michaeldeistler

@michaeldeistler michaeldeistler commented Oct 23, 2025 •

Copy link
Copy Markdown
Contributor

The previous code had always z-scored for diffusion models, even when z_score_x=None.

Closes #1680

@codecov

codecov Bot commented Oct 23, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.63%. Comparing base (1b1edfd) to head (75b8d33).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1681      +/-   ##
==========================================
- Coverage   88.46%   84.63%   -3.84%     
==========================================
  Files         137      137              
  Lines       11469    11473       +4     
==========================================
- Hits        10146     9710     -436     
- Misses       1323     1763     +440     
Flag Coverage Δ
unittests 84.63% <100.00%> (-3.84%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
sbi/neural_nets/net_builders/vector_field_nets.py 92.61% <100.00%> (-0.54%) ⬇️

... and 28 files with indirect coverage changes

@janfb janfb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, thanks!

but just to be sure, can you please run the slow vector_field_tests locally to check? is there a difference?

@janfb janfb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested in locally, works fine.

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.

z-scoring in NPSE/FMPE

2 participants