-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: score-based density estimators for SBI (#1015)
* Initial draft for Neural Posterior Score Estimation (NPSE) * Rename NSPE->NPSE and Geffner->iid_bridge * new structure for potentials and posteriors * add support for MLP denoiser with ada_ln conditioning * fixup for `log_prob()` of score matching methods * fixed tutorial link in README and wip for fmpe+npse tutorial * better argument handling for score nets * finished NPSE tutorial, added calls to tut 16-implemented methods, and fixed some docstrings * small fixes, docstrings, import sorting. * add ode sampling via zuko * undo potential fix for iid sampling * add errors for MAP and iid data, adapt tests * Remove kernels; remove correctors; remove ddim predictor; rename some symbols * remove file that did not contain tests * fewer tests for npse * C2ST tests pass by putting _converged back in * Improve documentation and docstrings * removing ddim functions * remove unreachable code * consistent default kwargs * Remove iid_bridge (to be left for a future PR) * Add options to docstring * consistent use of loss/log_prob in inference methods * Add citation for AdaMLP * docs: add fmpe to tutorials, fix docstrings --------- Co-authored-by: rdgao-lajolla <[email protected]> Co-authored-by: michaeldeistler <[email protected]> Co-authored-by: Jan Boelts <[email protected]> Co-authored-by: manuelgloeckler <[email protected]> Co-authored-by: Guy Moss <[email protected]>
- Loading branch information
1 parent
9648aff
commit cdf44cc
Showing
56 changed files
with
3,764 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from sbi.inference.npse.npse import NPSE |
Oops, something went wrong.