by medo-bear · 5y ago · 0 comments
[1] http://web.stanford.edu/~ngoodman/papers/POPL2013-abstract.p...
That said, you can get pretty far with probabilistic programming in any language with decent monad support [2]. I did most of my probabilistic programming work in Scala. (You lose the ability to do really fancy inference if you go the monad route, as you can't analyze the program structure, but a lot of the time, this is fine.)
Would make it much easier to play around with the language when trying to wrap my mind around the church version of probmods.
I’ll have a look on google on the names you mentioned :)
^{:nextjournal/viewer :plotly}
{:data [{:x '(0 10 20 30 40)}
{:y '(5 10 15 20 25)}]
:layout {:autosize false :width 800 :height 400
:xaxis1 {:title "year"}
:yaxis1 {:title "revenue"}}}
See the result here:https://nextjournal.com/kommen/plotting-from-clojure
Regarding anglican, here is a link. It’s basically a church port: