MCMC sampling for a Bayesian logistic regression model #977
Replies: 1 comment 1 reply
-
This is amazing, thanks for sharing! Those programs will be very useful for us as benchmarks. We've recently lost almost all capability to optimize Dex programs, because we've rewritten the compiler from scratch, so this might be a very good driver for progress! Given that you've now spent some time with Dex, I'd be very curious to hear your thoughts. Are there any things you particularly liked or disliked? We still have lots of flexibility in language design and we keep trying to explore improvements, so any feedback is very welcome and extremely useful for us. I'm also happy to follow up by email if you'd prefer to discuss in a less public channel. |
Beta Was this translation helpful? Give feedback.
-
I've been comparing MCMC algorithms for a Bayesian logistic regression model, using different algorithms, languages, and libraries.
https://github.com/darrenjw/logreg
I've now added Dex into the mix, so it might be of interest to some Dex folk. I've currently got RWMH, MALA (with diagonal pre-conditioner) and HMC (with diagonal mass matrix), with and without auto-differentiated gradients. I think it's quite interesting to compare implementations (and performance) across a bunch of different languages.
I've also written some utility functions, including some simple functions for reading and writing TSV files. Note that these examples rely on a Dex build from today, including the
parseString
function that Adam kindly added to the prelude (and the augmented library search path).Beta Was this translation helpful? Give feedback.
All reactions