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 within each ensemble and across ensembles, see MCMC ensemble convergence test for details.
Supports parallelisation with MPI. No modifications to your code is needed, just run your script with mpiexec.
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
both emcee and zeus are supported
MPI support for parallel high-performance computing
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.
Other projects
See also:
UltraNest: https://johannesbuchner.github.io/UltraNest/
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
File details
Details for the file autoemcee-0.4.0.tar.gz
.
File metadata
- Download URL: autoemcee-0.4.0.tar.gz
- Upload date:
- Size: 282.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f86ebfbecca6bde2a8dff11a24fc9b1f59fdce8777355d0ae254a8a3db73b4 |
|
MD5 | a14f36fdc9e9d6b258d6fa81bed68504 |
|
BLAKE2b-256 | ca721bec53bb9708ec80631d8abdb9ff9cdfbe6ccbd32c0ca887314f340c9a24 |