Since it's on subject here - anybody know of any good clojure libraries or resources for probabilistic programming? Anglican definitely looks good, but their intro pages use some kinda strange workflows.
Since it's on subject here - anybody know of any good clojure libraries or resources for probabilistic programming? Anglican definitely looks good, but their intro pages use some kinda strange workflows.
We taught a summer school on Anglican last August. The materials are available online:
https://bitbucket.org/probprog/ppaml-summer-school-2016 http://www.ccs.neu.edu/home/jwvdm/talks/
(Disclaimer: I'm a sysadmin and hobbyist programmer, so my workflow might be a bit different from most.)
The strangeness I saw was mostly in from difficult to follow documentation and the use of gorilla, not necessarily Anglican itseld. As awesome as gorilla is, it's just another new thing to learn. Since I'm already trying to learn Anglican, learning Gorilla and fighting my muscle memory just adds noise to the learning process. It would be nice to have something similar straight within a REPL (similar to how incanter does it with `view`). It's not a problem exclusive to Anglican, though.
That said, the barrier for entry with a lot of Clojure - even the language itself (no, not just its parens) is like that, where frustration is by a thousand cuts.
(After I posted that comment I dug a bit deeper into Anglican and found that I really enjoy it :).)
Do remember that Anglican is a partial language in clojure, so you can't use all clojure functions (and I think none of the macros) within anglican's defqueries.
[1] http://mc-stan.org/ [2] https://www.youtube.com/watch?v=uSjsJg8fcwY