Semantic Scholar Open Access 2012 9603 sitasi

emcee: The MCMC Hammer

D. Foreman-Mackey D. Hogg D. Lang J. Goodman

Abstrak

We introduce a stable, well tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman & Weare (). 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 ∼N2 for a traditional algorithm in an N-dimensional parameter space. In this document, we describe the algorithm and the details of our implementation. 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 GNU General Public License v2.

Penulis (4)

D

D. Foreman-Mackey

D

D. Hogg

D

D. Lang

J

J. Goodman

Format Sitasi

Foreman-Mackey, D., Hogg, D., Lang, D., Goodman, J. (2012). emcee: The MCMC Hammer. https://doi.org/10.1086/670067

Akses Cepat

Lihat di Sumber doi.org/10.1086/670067
Informasi Jurnal
Tahun Terbit
2012
Bahasa
en
Total Sitasi
9603×
Sumber Database
Semantic Scholar
DOI
10.1086/670067
Akses
Open Access ✓