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

Draft
wants to merge 84 commits into
base: main
Choose a base branch
from
Draft

Score-based density estimators for SBI #1015

wants to merge 84 commits into from

Conversation

jsvetter
Copy link
Contributor

@jsvetter jsvetter commented Mar 19, 2024

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 creating
the 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.

  • I have read and understood the contribution
    guidelines
  • I agree with re-licensing my contribution from AGPLv3 to Apache-2.0.
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • I have reported how long the new tests run and potentially marked them
    with pytest.mark.slow.
  • New and existing unit tests pass locally with my changes
  • I performed linting and formatting as described in the contribution
    guidelines
  • I rebased on main (or there are no conflicts with main)

@jsvetter jsvetter changed the title added files for vector field-based estimators and posteriors Score-based density estimators for SBI Mar 19, 2024
@jsvetter jsvetter marked this pull request as draft March 19, 2024 08:46
@manuelgloeckler
Copy link
Contributor

Related to #963 and #966 .

pfuhr and others added 28 commits March 20, 2024 18:48
@janfb
Copy link
Contributor

janfb commented Mar 22, 2024

@pfuhr do you agree to your contributions being re-licensed under Apache 2.0 in the future?

@pfuhr
Copy link

pfuhr commented May 17, 2024

Yes, I agree that my contributions are re-licensed under Apache 2.0 in the future.

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.

score-based diffusion models as density estimators
5 participants