Ross ROSS = Recommend OSS · open-source software intelligence for agents

dfm/emcee

The Python ensemble sampling toolkit for affine-invariant MCMC observed · 2026-08-28

github.com/dfm/emcee · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 98
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5413
  • days_rel: n/a
  • days_push: 16
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1597 stars · 440 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

emcee is a stable, well-tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman & Weare (2010). It is widely used for probabilistic data analysis, particularly in astrophysics.

Use cases

  • sample posterior distributions with MCMC in Python
  • fit Bayesian models to data
  • run ensemble sampling for high-dimensional parameter spaces
  • do probabilistic data analysis for astronomy research
  • estimate uncertainty on model parameters via MCMC
  • replace hand-rolled Metropolis-Hastings samplers

When to choose

  • you need a mature, well-tested MCMC sampler with minimal setup
  • your likelihood is expensive and parallelizable across walkers
  • you want the affine-invariant ensemble sampler without tuning covariance matrices
  • you're doing Bayesian inference in astronomy or the sciences

When to avoid

  • you need gradient-based samplers like Hamiltonian Monte Carlo or NUTS
  • you need a full probabilistic programming framework with model syntax
  • your posterior is extremely high-dimensional or multimodal where ensemble sampling struggles
  • you need GPU-accelerated sampling

Facets

library · maturity stable

machine-learning data-science math data-science astronomy python cross-platform mcmc ensemble-sampler bayesian-inference probabilistic-programming monte-carlo algorithms

2 sources

Member repositories

RepositoryRoleHealth v2
dfm/emceemain67

For agents

markdown · JSON · MCP: product_card(name="dfm/emcee")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem