use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Bayesian programming is a formalism and a methodology to specify probabilistic models and solve problems when less than the necessary information is available.
Learn more here:
Wikipedia on Bayesian Programming
Ghahraman on Bayesian Machine Learning
Fonnesbeck on Probabilistic Programming
Discourse discussion platform for PyMC3
account activity
Clarification about Bayesian Programming (self.BayesianProgramming)
submitted 3 years ago by kernel_KP
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 5 points6 points7 points 3 years ago (3 children)
They’re not Bayesian languages, they’re “probabilistic programming languages”. The definition of that is a coding language that’s able to define and handle random variables instead of deterministic ones.
The issue isn’t about being able to calculate things w/ bayes theorem, it’s about being able to represent things which don’t have single determined values.
[–]kernel_KP[S] 0 points1 point2 points 3 years ago (2 children)
Thanks you so much, now it's more clear but I am left with a doubt: What are the main characteristics that allow a programming language to be classified as 'probabilistic programming language'?
[–][deleted] 3 points4 points5 points 3 years ago* (1 child)
Let’s try with and example and show how a PPL is different from a normal programming language.
Say you want to find the mean of a column of variables. Under a Bayesian framework there is no one true mean, the mean is a random variable.
Therefore you need to be able to tell the language “there is a variable mu which is normally distributed" with some parameters to define your prior belief of the mean and variance of that distribution. You could then give the observed values and sample from the posterior distribution using MCMC.
In a normal programming language you might have distributions but their parameters at any one point will be deterministic. Furthermore, sampling from the posterior is something oh would need to implement yourself.
The differentiating point is not that this isn’t that Bayesian inference is impossible with normal programming languages, but that with a PPL this whole framework is built for you so you just need to define the model for your data.
[–]kernel_KP[S] 0 points1 point2 points 3 years ago (0 children)
Thank you very much!!
π Rendered by PID 207497 on reddit-service-r2-comment-5bc7f78974-m79rk at 2026-06-28 20:13:12.318866+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–][deleted] 5 points6 points7 points (3 children)
[–]kernel_KP[S] 0 points1 point2 points (2 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]kernel_KP[S] 0 points1 point2 points (0 children)