tweag / monad-bayes

A library for probabilistic programming in Haskell.
MIT License
407 stars 62 forks source link

Simplify free sampler #169

Closed reubenharry closed 2 years ago

reubenharry commented 2 years ago

I wrote a simpler version of the MonadSample instance that lets us view the density of running a probabilistic program given a trace. It's slower, so isn't used in MCMC, but it useful as a reference implementation, and in future, I plan to optimize it.

netlify[bot] commented 2 years ago

Deploy Preview for monad-bayes canceled.

Name Link
Latest commit 35ed104c041c7601410301840f6ffbe84f231db7
Latest deploy log https://app.netlify.com/sites/monad-bayes/deploys/6308bf6346a4ff0008b39537