What is Bayesian inference?
In Turkish: Bayesçi çıkarım · Topic: Math foundations
A statistical approach that holds beliefs about an unknown quantity as a probability distribution and updates them with Bayes' theorem as new data arrives. Instead of a single best value, it tracks all plausible values and their uncertainty.
How does it work?
First, a prior distribution is chosen for the parameter, reflecting what is known before seeing data. Next, the likelihood is computed, which measures how well the data fits each possible parameter value, and the two are combined into a posterior distribution. As more data arrives, the posterior becomes the prior for the next round. In complex models the posterior is hard to compute exactly, so sampling methods such as Markov chain Monte Carlo or approximations such as variational inference are used.
Why does it matter?
The Bayesian approach also tells you how confident a model is, which matters in fields like medicine, finance and science where mistakes are costly. It lets you use prior knowledge when data is limited. The trade-offs are heavy computation and the fact that the choice of prior can be debated.
Example
A team estimating an ad's click rate keeps a distribution showing the range the rate probably falls in, rather than a single percentage, and updates it with every new click.
FAQ
How does Bayesian inference differ from classical (frequentist) statistics?
Frequentist methods treat a parameter as fixed but unknown and interpret probability as the long-run frequency of repeated experiments. Bayesian methods treat probability as a degree of belief and place a distribution on the parameter. Both schools are widely used.
Is Bayesian inference used in deep learning?
Yes, especially in research on Bayesian neural networks and uncertainty estimation. But because the computation is expensive, standard training of large models usually relies on a single set of parameters.