You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: bake RatioEstimator into the general ConditionalEstimator API (#1652)
* refactor: update RatioEstimator class to inherit from ConditionalEstimator
* refactor: update type hints from Union to ConditionalEstimator type
* reafactor(nre): remove RatioEstimatorBuilder protocol and update type hints
* refactor(npe, nle): update estimator builder type hints to not include RatioEstimator
* refactor: remove VectorFieldEstimatorBuilder and update estimator type hints to use DensityEstimatorBuilder
* docs: remove empty line
* test: add FMPE and NPSE for testing valid and invalid estimator builders
* chore: add loss function to RatioEstimator
* chore(nle, npe): remove ConditionalVectorFieldEstimator builder type
* test: update parameters for checking invalid builder
* chore(fmpe): assign default value for prior
* test(npse, fmpe): correct test methods
* chore: rename DensityEstimatorBuilder to ConditionalEstimatorBuilder
* chore(nle, npe): update density_estimator type annotation
* test: check embedding_net property is not None
* chore: update density_estimator type annotation for mnle and mnpe
* Update sbi/diagnostics/misspecification.py
Co-authored-by: Jan <janfb@users.noreply.github.com>
* chore(nle): update import structure
* chore: update formatting
---------
Co-authored-by: Jan <janfb@users.noreply.github.com>
0 commit comments