News for hackers. Stuff that matters.
Re:RankPL – A qualitative probabilistic programming language by zaptheimpaler on Friday March 31, 2017 @07:36AM (#14002756)
Is this equivalent to encoding the ranks as decimals in a floating-point probabilistic PL? Like if a program uses ranks 0-9 in RankPL, could those could be encoded as probabilities 1/55, 2/55, 3/55, ... ,10/55 (assuming rank 9 is 10 times less likely than rank 0) in a regular probabilistic PL?
Re:RankPL – A qualitative probabilistic programming language by nerdponx on Friday March 31, 2017 @08:34AM (#14003034)
It looks like the values are un-normalized density values, i.e the numerator in Bayes' theorem.

So, what you said. But determining the correct denominator for such a collection of values, in general, isn't easy when the collection is infinite (like a function). It amounts to a very very gnarly integration problem.

This is why MCMC solvers are used in Bayesian statistics, and why abstracting away the "nasty integral" part from the "probability density" part is useful to statisticians and other researchers.

Re:RankPL – A qualitative probabilistic programming language by tr352 on Friday March 31, 2017 @03:27PM (#14007278)
There is indeed a probabilistic interpretation of ranks. It's discussed here:

http://ac.els-cdn.com/0004370295000909/1-s2.0-00043702950009...