Skip to main content

Run affine-invariant sampler in automated fashion until convergence.

Project description

autoemcee

Runs MCMC automatically to convergence.

About

Runs a family of Markov Chain Monte Carlo ensemble samplers (Affine-Invariant or Slice Sampler) with gradually increasing number of samples until they converge.

Convergence is tested for each ensemble and for each parameter with the Geweke diagnostic. Additionally, across ensembles, the Gelman-Rubin r-hat is used.

Can be run with MPI without modifying the code.

https://img.shields.io/pypi/v/autoemcee.svg https://api.travis-ci.org/JohannesBuchner/autoemcee.svg?branch=master&status=started Documentation Status

This package is built on top of emcee, zeus, anviz and mpi4py.

You can help by testing autoemcee and reporting issues. Code contributions are welcome. See the Contributing page.

Features

  • Pythonic. pip installable.

  • Easy to program for: Sanity checks with meaningful errors

  • Supports both emcee and zeus

  • MPI support

Usage

Read the full documentation at:

https://johannesbuchner.github.io/autoemcee/

For parallelisation, use:

mpiexec -np 4 python3 yourscript.py

Licence

GPLv3 (see LICENCE file). If you require another license, please contact me.

Icon made by Vecteezy from Flaticon .

Release Notes

0.1.0 (2020-03-07)

  • First version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoemcee-0.2.0.tar.gz (282.5 kB view hashes)

Uploaded Source

Built Distribution

autoemcee-0.2.0-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page