sampyl icon indicating copy to clipboard operation
sampyl copied to clipboard

Is Sampyl still being developed/maintained?

Open Gabriel-p opened this issue 7 years ago • 20 comments

Hi, I'm looking for a simple to use Bayesian MCMC sampler fully Python based. I've been trying emcee and now I've found Sampyl, which looks really good.

Before attempting to implement it though, I'd like to know if it is still being developed or at least maintained. For what I can see the latest commit is 1.5 years old with no active branches, and the opened issues are ~2 years old with no apparent progress in either of them.

Thanks.

Gabriel-p avatar Nov 02 '17 17:11 Gabriel-p

Have you looked at PyMC3?

twiecki avatar Nov 02 '17 22:11 twiecki

Here the author explains why he has implemented sampyl and what is a problem with pymc3: http://matatat.org/ab-testing-with-sampyl.html

ipashchenko avatar Nov 03 '17 04:11 ipashchenko

@twiecki I have, but as @ipashchenko comments it depends on an annoying syntax to write your models. It's the same issue with PyStan, and that's why Sampyl looks so interesting.

Gabriel-p avatar Nov 03 '17 13:11 Gabriel-p

Yeah, theano makes things tricky but I'm always surprised that people would rather code their own likelihoods and model logps.

twiecki avatar Nov 03 '17 13:11 twiecki

@Gabriel-p , there's nice and easy to use python implementation of the nested sampling here by @kbarbary. So if you are not sticked to MCMC and want to get evidence estimates for e.g. model comparison - just check it.

ipashchenko avatar Nov 03 '17 13:11 ipashchenko

@twiecki In my case my likelihood is already written, and it is not trivial. I'd have to invest the time into learning Theano (or PyStan's syntax) before even attempting to get a glimpse of how adequate the package is for my particular issue.

@ipashchenko I'll definitely look into it. Thank you.

Gabriel-p avatar Nov 03 '17 13:11 Gabriel-p

@twiecki For me it's the opposite. I see the necessity to learn a domain specific language and a limited set of building blocks as the (annoying) price to pay for automatic differentiation and the speed-ups it brings. Perhaps this difference in views is because for people formally trained in statistic navigating the zoo of available distributions (and associated jargon) is easy while for people who learn Bayesian probability and MCMC to make inferences in their specific problems it is somewhat problematic.

madanh avatar Jan 19 '18 21:01 madanh

Now even Theano is being discontinued too: https://groups.google.com/forum/#!msg/theano-users/7Poq8BZutbY/rNCIfvAEAwAJ

Gabriel-p avatar Jan 20 '18 14:01 Gabriel-p

@Gabriel-p Did you try using sampyl as it is? I cloned it and and tried the examples from docs. Those wouldn't run due to a bug that I managed to fix/work around and now the examples are working fine. So if you want to try this now I can fork and push what I have. Will definitely play a bit more with this.

madanh avatar Jan 21 '18 14:01 madanh

Just submit a PR to this repo. Thanks!

On Jan 21, 2018 3:52 PM, "Hennadii Madan" [email protected] wrote:

@Gabriel-p https://github.com/gabriel-p Did you try using sampyl as it is? I cloned it and and tried the examples from docs. Those wouldn't run due to a bug that I managed to fix/work around and now the examples are working fine. So if you want to try this now I can fork and push what I have. Will definitely play a bit more with this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mcleonard/sampyl/issues/18#issuecomment-359253972, or mute the thread https://github.com/notifications/unsubscribe-auth/AApJmPqQwXsK9gb611M_RlXRm6kgaCBgks5tM08egaJpZM4QQDOv .

twiecki avatar Jan 21 '18 15:01 twiecki

@twiecki Thomas, just wondering: do you have permissions to merge, or you just want to try?

madanh avatar Jan 21 '18 15:01 madanh

I don't and actually confused this repo with "sampled" so disregard my earlier comment. Still think a PR couldn't hurt though :)

twiecki avatar Jan 21 '18 15:01 twiecki

@madanh , what is the problem? Check here Edit: Oops, it is your's PR...

ipashchenko avatar Jan 21 '18 16:01 ipashchenko

@ipashchenko I could not quite understand your message. Care to elaborate? @twiecki Happens :) Anyway, here's the PR. https://github.com/mcleonard/sampyl/pull/19

madanh avatar Jan 21 '18 16:01 madanh

@madanh I have not used sampyl yet, I found while scavenging for Python MCMCs and thought it looked interesting, which is why I am interested in knowing about its development.

Gabriel-p avatar Jan 22 '18 11:01 Gabriel-p

@Gabriel-p Apparently is is not maintained, so it is up to us to pick up the banner.

madanh avatar Jan 22 '18 11:01 madanh

@madanh @Gabriel-p Hi, I'm still sort of working on this and actually made a few updates a couple weeks ago.

This was a project I started in my postdoc year for my own work. Then I started working at Udacity and stopped doing much data analysis myself. So this kind of fell out of my free time work.

Seems like there is serious interest in using Sampyl, so I could be convinced to pick it back up. I do really love Bayesian data analysis.

mcleonard avatar May 16 '18 18:05 mcleonard

Good to have you back and nice work BTW. Do you have something to apply sampyl to now. It's my impression is that it's hard to find motivation to maintain something that does not help solve ones own everyday problems (unless one gets paid for this).

madanh avatar May 18 '18 11:05 madanh

any updates on the development of this project?

zoj613 avatar Jun 06 '20 21:06 zoj613

Would it be possible to give someone else write access to at least fix the obvious bugs?

jeremysanders avatar Nov 26 '20 16:11 jeremysanders