emcee: The MCMC Hammer

Astronomy and Astrophysics – Astrophysics – Instrumentation and Methods for Astrophysics

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

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://danfm.ca/emcee under the GNU General Public License v2.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

emcee: The MCMC Hammer does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with emcee: The MCMC Hammer, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and emcee: The MCMC Hammer will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-34929

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.