Characteristic examples from the book Doing Bayesian Data Analysis 2nd edition [1] programmed in Clojure and OpenCL to run on the GPU. Much, much faster than Stan or JAGS!
The library used (Bayadera) is still pre-release, so much polishing is still needed, so this can be considered a preview. But, it is still very useful, and not more complex for programmers than the mainstream Bayesian tools.
Looks cool. Would love to see the "much, much faster" claim quantified. Both including and excluding compile times. Stan is neat, but the recompile time after every tweak to the model really got to be a drag. If you can improve on that, it would be a real win for me.
Just of out curiosity, how hard would it be to write a compiler that takes JAGS or STAN model files and compiles it to the s-exps needed to use the library?
Yes. Run the tests in the REPL. Call (analysis) to only invoke the fits and get the timings, or call (display-sketch) and then (reset! all-data (analysis)) to see the plots. It is only done like that in these examples; for actual work, you are free to use any meaning combination of functions that you like.
[+] [-] dragandj|9 years ago|reply
The library used (Bayadera) is still pre-release, so much polishing is still needed, so this can be considered a preview. But, it is still very useful, and not more complex for programmers than the mainstream Bayesian tools.
[1] https://www.amazon.com/Doing-Bayesian-Data-Analysis-Second/d...
[+] [-] feral|9 years ago|reply
Does it make the same probabilistic guarantees as the methods used in Stan etc? Or is it trading validity for speed?
[+] [-] marmaduke|9 years ago|reply
[+] [-] te|9 years ago|reply
[+] [-] thom|9 years ago|reply
[+] [-] anon1253|9 years ago|reply
[+] [-] jsweojtj|9 years ago|reply
[+] [-] dragandj|9 years ago|reply