Publications of the Astronomical Society of the Pacific· 2013Q1
<tt>emcee</tt>: The MCMC Hammer
- 11,975citations
- Q1SCImago
- 2013year
Short summary
A new Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) called emcee is introduced, offering improved performance and requiring fewer parameters to tune than traditional methods.
AI-generated from the title and abstract; the full text is not read.
Key points
- Introduces emcee, a stable Python implementation of the affine-invariant ensemble MCMC sampler.
- Requires tuning of only 1-2 parameters, a significant advantage over traditional MCMC methods.
- Achieves excellent performance, measured by autocorrelation time (function calls per independent sample).
- Leverages parallelism for efficient use of multiple CPU cores without extra user effort.
AI-generated from the title and abstract; the full text is not read.
Abstract
We introduce a stable, well tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman & Weare (2010). The code is open source and has already been used in several published projects in the astrophysics literature. The algorithm behind emcee has several advantages over traditional MCMC sampling methods and it has excellent performance as measured by the autocorrelation time (or function calls per independent sample). One major advantage of the algorithm is that it requires hand-tuning of only 1 or 2 parameters compared to $\sim N^2$ for a traditional algorithm in an N-dimensional parameter space. In this document, we describe the algorithm and the details of our implementation and API. Exploiting the parallelism of the ensemble method, emcee permits any user to take advantage of multiple CPU cores without extra effort. The code is available online at http://dan.iel.fm/emcee under the MIT License.
The authors' abstract, as published at the source. Publications of the Astronomical Society of the Pacific, 2013 · DOI ↗
Continue with a free account
Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Statistics and Probability
Statistics and ProbabilityMathematics