tweag / monad-bayes

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

Add bus example and necessary Poisson pdf #232

Closed idontgetoutmuch closed 2 years ago

idontgetoutmuch commented 2 years ago

I took Sam Staton's bus example from https://www.cs.uoregon.edu/research/summerschool/summer19/topics.php#Staton and added it as an example. This required adding the Poisson pmf but I seem to have called it poissonPdf because that is what Sam did. Apart from naming, I think this is uncontroversial.

netlify[bot] commented 2 years ago

Deploy Preview for monad-bayes-site canceled.

Name Link
Latest commit 4603e52e35bf6dd262e114af9676e17208b81dd6
Latest deploy log https://app.netlify.com/sites/monad-bayes-site/deploys/637b63a780f9c80009460900
netlify[bot] commented 2 years ago

Deploy Preview for monad-bayes canceled.

Name Link
Latest commit 4603e52e35bf6dd262e114af9676e17208b81dd6
Latest deploy log https://app.netlify.com/sites/monad-bayes/deploys/637b63a749945a0009cf4624