3 ms·
Heh, I just started doing some searching on probabilistic programming about an hour ago. Funny how that works. Since it's on subject here - anybody know of any
by bpchaps 10y ago
Heh, I just started doing some searching on probabilistic programming about an hour ago. Funny how that works.
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.
- kharms 10y agoCheck out bayesdb
- hendler 10y agoAlso see (Scala) http://factorie.cs.umass.edu/ http://factorie.cs.umass.edu/
- efm 10y agoStan [1] has a modelling dsl, and multiple language interfaces. It also uses a state of the art, Hamiltonian Monte Carlo Markov Chain model which is significantly faster than other MCMCs. A good introductory tutorial video is [2] [1] http://mc-stan.org/ http://mc-stan.org/ [2] https://www.youtube.com/watch?v=uSjsJg8fcwY https://www.youtube.com/watch?v=uSjsJg8fcwY
- BorisVSchmid 10y agoI think right now for clojure, Anglican is the one furthest along. It took me some effort to get into it, with the documentation being a little bit all over the place, but I got it working for me. 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.
- janwillem 10y agoAnglican dev here. We always welcome feedback. Could you explain what you find strange about the workflows? We taught a summer school on Anglican last August. The materials are available online: https://bitbucket.org/probprog/ppaml-summer-school-2016 https://bitbucket.org/probprog/ppaml-summer-school-2016 http://www.ccs.neu.edu/home/jwvdm/talks/ http://www.ccs.neu.edu/home/jwvdm/talks/
- bpchaps 10y agoAwesome! I'll definitely check these out. (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 :).)