Questions tagged [emcee]

emcee is an affine-invariant Markov chain Monte Carlo (MCMC) ensemble sampler.

emcee is a Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (mcmc) proposed by Goodman & Weare (2010).

The code is available online under the MIT License.

63 questions
0
votes
1 answer

Closing the multiprocessing after each parallel job

I am using multiprocessing library of python and also emcee which also uses different threads to implement MCMC. The problem is that even when I close the pool still it seems python uses the processors and slows down the cores and I have no idea…
Dalek
  • 4,168
  • 11
  • 48
  • 100
0
votes
1 answer

TypeError: 'numpy.ndarray' object is not callable

I don't know if anyone is familiar with Dan Foreman-Mackley's "emcee" Python module, but I am using it to sample a distribution. I am using the Parallel Tempering sampler because my distribution is funky looking. Here is the relevant code: from…
naomig
  • 271
  • 1
  • 7
  • 12
0
votes
2 answers

Unpacking parameters for a simulation

I do a lot of ODE simulations and I work with a few python parameter optimization tools (e.g. scipy.optimize.minimize, emcee) that require parameters to be passed in as a list. This makes them very cumbersome, as I have to refer to the parameters as…
James Porter
  • 1,853
  • 2
  • 17
  • 30
1 2 3 4
5