Skip to content

MaximeVandegar/NEB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

Getting Started

$ pip install -r requirements.txt

The implementation provides a simple interface that allows inference in a single line of code.

from inference.neb import McBiasedEstimator, McUnbiasedEstimator, ElboEstimator, IwEstimator
# Define your data, likelihood function, source model, ...
estimator = McBiasedEstimator() 
estimator.infer(observations, source_model, optimizer, log_likelihood_fct)

The source code for the different estimators was written to be self-contained in a single file for a quick and easy understanding.

Getting Started

Cite

If you make use of this code in your work, please cite our paper:

@misc{vandegar2020neural,
      title={Neural Empirical Bayes: Source Distribution Estimation and its Applications to Simulation-Based Inference}, 
      author={Maxime Vandegar and Michael Kagan and Antoine Wehenkel and Gilles Louppe},
      year={2020},
}

About

Code for reproducing the experiments in the paper Neural Empirical Bayes: Source Distribution Estimation and its Applications to Simulation-Based Inference.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages