Skip to content

asantini29/flowevidence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flowevidence: Estimate bayesian evidences using Normalizing Flows

flowevidence is a Python package that provides evidence estimations from a set of MCMC samples and the associated unnormalized (log-)posterior values.

Getting started:

flowevidence estimates the posterior density by training a flow architecture directly on the samples. Then, for each of them, an evidence estimate can be computed as the ratio of the associated unnormalized posterior value and the flow pdf prediction.

The package documentation is available at this link. Check out the examples directory for more info (TODO).

Prerequisites:

flowevidence heavily depends on pytorch and normflows.

Installing:

  1. Clone the repository:
git clone https://github.com/asantini29/flowevidence.git
cd flowevidence
  1. Run install:
python setup.py install

Versioning

We use SemVer for versioning.

Current Version: 0.0.1

Authors

  • Alesandro Santini

Contributors

Get in touch if you would like to contribute!

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Citing

If you use flowevidence in your research, you can cite it in the following way: (TODO)

A previous work in this context can be found in ArXiv:2404.12294. Please consider citing it as well.

References

The idea of translating the evidence-estimation problem in a density-estimation one can also be found in "Statistics, Data Mining, and Machine Learning in Astronomy", Željko, Andrew, Jacob, and Gray. Princeton University Press, 2012.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages