-
Notifications
You must be signed in to change notification settings - Fork 133
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
base: main
Are you sure you want to change the base?
Conversation
… score_estimator
… score_estimator
… score_estimator
… related networks
… score_estimator
… score_estimator
… score_estimator
…to score_estimator
… score_estimator
…o score_estimator
@pfuhr do you agree to your contributions being re-licensed under Apache 2.0 in the future? |
Yes, I agree that my contributions are re-licensed under Apache 2.0 in the future. |
Alright, I integrated everything with the current main and fixed some problematic side effects/bugs we introduced. The following stuff still has to be implemented/improved:
If you have time/want to do some of the points @rdgao @jsvetter, let me know. We can also chat about what should be done in more detail. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1015 +/- ##
===========================================
- Coverage 84.54% 74.30% -10.25%
===========================================
Files 95 102 +7
Lines 7576 8036 +460
===========================================
- Hits 6405 5971 -434
- Misses 1171 2065 +894
Flags with carried forward coverage won't be shown. Click here to find out more.
|
What does this implement/fix? Explain your changes
This PR implements score-based methods for SBI (and related methods like flow matching). The first goal is to have a running version for score-based NPE. Later-on NLE, sequential methods and methods that can deal with multiple observations can be tackled.
This includes new base-classes for the required vectorfield-estimators and posteriors.
Does this close any currently open issues?
Fixes #962
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.
guidelines
with
pytest.mark.slow
.guidelines
main
(or there are no conflicts withmain
)