Re:Hakaru – Probabilistic Programming
by diab0lic on Friday September 09, 2016 @03:02AM
(#12460134)
I haven't run it yet as I am travelling, so this is speculation based on my interpretation of the eocs. The documentation seems to suggest that some optimizations are implemented using maple and that the software could be run without it albeit without those optimizations.
Re:Hakaru – Probabilistic Programming
by cf on Friday September 09, 2016 @03:03AM
(#12460139)
It doesn't require a Maple license exactly. Maple is just needed to use the simplifier. It is perfectly possible to write and run Hakaru programs without having Maple installed.
Re:Hakaru – Probabilistic Programming
by wcbeard10 on Friday September 09, 2016 @10:23AM
(#12462460)
I occasionally use probabilistic programming systems, and find this project fascinating, but I've been wondering for a while what the vision is.
Is it meant mainly as a research project/proof of concept (seems I've seen elsewhere that it's funded by the DARPA PPAML project), or is it intended to become a commonly used piece of software with a community like pymc3 and stan?
Re:Hakaru – Probabilistic Programming
by probinso on Friday September 09, 2016 @01:44PM
(#12464443)
The PPAML project yielded a lot of cool work, I think that many people are still figuring out the most impact use case. I believe that the most mature new production language is Figaro, out of Charles River. They have some good example projects and a introductory text for their language.
Re:Hakaru – Probabilistic Programming
by cf on Friday September 09, 2016 @03:04AM
(#12460143)
I think PyMC is a much more mature solution. Also while PyMC is much more focused on sampling, Hakaru is more focused on Bayesian inference and trying to represent stochastic models in a way such that any inference algorithm could be applied to it.
Re:Hakaru – Probabilistic Programming
by cf on Friday September 09, 2016 @08:31AM
(#12461501)
That's the concrete syntax for the language. It was chosen to be make the language more familiar to people who do machine learning in Python. The embedded design we had made it very challenging to develop new inference algorithms and to combine them. You can still find that version of hakaru at https://github.com/zaxtax/hakaru-old
Re:Hakaru – Probabilistic Programming
by cf on Friday September 09, 2016 @11:45AM
(#12463259)
I expect no significant challenges in porting to more recent version of GHC. Some version bounds will need to be loosened and an Applicative instance added for the Measure monads. Also if you have any feature requests for that version I'd be curious what they were.
I'll find out what "computer-algebra guided optimizations" are I'm sure ;)
Is it meant mainly as a research project/proof of concept (seems I've seen elsewhere that it's funded by the DARPA PPAML project), or is it intended to become a commonly used piece of software with a community like pymc3 and stan?
https://www.cra.com/technical-expertise/probabilistic-modeli...
https://www.amazon.com/Practical-Probabilistic-Programming-A...
That being said, I'm very happy that Hakaru is getting attention.
Whether it is intended to become a commonly used piece of software depends on what you mean by "become" :)