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.1.tar.gz
.
File metadata
- Download URL: autoemcee-0.4.1.tar.gz
- Upload date:
- Size: 177.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4302f9ae18f6070a2b99889a3564e33aa44dc837f400c3ab388bb75d93d285c7 |
|
MD5 | 70c967a0c8ec5a6d071b3872dcf2fc9e |
|
BLAKE2b-256 | 8e50e99089c782deca1f74d34a9ab4f33d385c0859c79e61ac04b9597b0d5aff |