Skip to content

Comparision of bayesian inference model Compa-ABC is a Python package for performing model comparison in Bayesian Computation. It enables you to do Bayesian comparison between models for which a likelihood function is not available.

License

Notifications You must be signed in to change notification settings

williamqzy/compaABC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model Comparison In Bayesian Computation

Compa-ABC is a Python package for performing model comparison in Bayesian Computation. It enables you to do Bayesian model comparison between models for which a likelihood function is not available. In contrast to previous approaches that are mainly based on variants of rejection sampling, this is a density estimation method that approximates the posterior over models in parametric form using a mixture-density network.

Documentation

Installation

Clone the repository. Then, in the repository root folder, run

python setup.py install --user 

to install all required packages. Alternatively, you install it via pip using

pip install git+https://github.com/williamqzy/compaABC --process-dependency-links

To test whether everything worked out fine, run

nosetests tests/

in the repository root folder.

Examples

You find a jupyter notebook in the examples folder presenting the methods on a tractable example problem: Bayesian model comparison between a Poisson model and a negative binomial model. More examples will follow soon.

About

Comparision of bayesian inference model Compa-ABC is a Python package for performing model comparison in Bayesian Computation. It enables you to do Bayesian comparison between models for which a likelihood function is not available.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages