Live data from Hacker News

Probabilistic programming does in 50 lines of code what used to take thousands

newsoffice.mit.edu

1–10 of 81 posts

Re: Probabilistic programming does in 50 lines of code what used to take thousands

#8

Is that 50 lines of code, or 50 lines of using a library that's thousands of lines of code?

I agree -- I think lines of code is the wrong measure. A better measure would be how large is the set of problems that occur in practice that normally would take thousands of lines which can now solve be solved with 50 lines of code using a probabilistic programming language.

Re: Probabilistic programming does in 50 lines of code what used to take thousands

#9

Anybody here on HN have experience with probabilistic-programming ? This looks quite disruptive if it works.

If you want to know about the history of similar language paradigms, look at logic programming. Similar to probabilistic programming, it is declarative, utilises an engine at run time, the user builds a model of the word then queries it, and it uses fewer lines of code to express for problems within a limited domain.

Hardly "distruptive". You should really think of them as DSLs that people actually use.

If you're intrested in such things, perhaps you should take a look at PRISM, which embeds a probabilistic framework within B-Prolog. http://rjida.meijo-u.ac.jp/prism/

Re: Probabilistic programming does in 50 lines of code what used to take thousands

#10
post #8

Is that 50 lines of code, or 50 lines of using a library that's thousands of lines of code?

I agree -- I think lines of code is the wrong measure. A better measure would be how large is the set of problems that occur in practice that normally would take thousands of lines which can now solve be solved with 50 lines of code using a probabilistic programming language.

Generally it's anything that you can express using a probabilistic graphical model. It's mainly useful in engineering (real engineering), control systems, robotics, inference, machine learning and artifical intelligence circles.
Post reply on HN