minaskar / zeus

⚡️ zeus: Lightning Fast MCMC ⚡️
https://zeus-mcmc.readthedocs.io/
GNU General Public License v3.0
227 stars 33 forks source link

add vectorisation option and some emcee compatibility #2

Closed JohannesBuchner closed 4 years ago

JohannesBuchner commented 4 years ago

Hi @minaskar,

Great work here! Thanks for creating zeus.

I am attaching a pull request that gives some emcee compatiblity, making it easier to use the samplers interchangably.

Some changes:

I just saw that this also addresses issue #1.

I hope these changes are of interest to you.

Cheers, Johannes

minaskar commented 4 years ago

Hi Johannes,

I just pushed a new update partially based on your insights, with only some minor differences (e.g. see the vectorise implementation).

Thanks a lot for your contributions!! If you have any other suggestions, feel free to submit another pull request.

Great work, Minas

JohannesBuchner commented 4 years ago

Ah, that's quite the elegant solution for the vectorize parameter :)