Components:
- — posterior: updated belief about after observing
- — likelihood: probability of evidence given
- — prior: belief about before seeing evidence
- — marginal likelihood (normalizer):
Intuition: Bayes' theorem is a principled way to update beliefs with evidence. Start with a prior → observe data → compute posterior.
Where it appears:
- MAP = argmax of posterior = MLE + prior
- Naive Bayes classifier — assumes feature independence given the class
- Bayesian inference — treat model parameters as random variables with priors
- Bayesian RL — maintain posterior over environment dynamics or reward functions
Concrete example: a medical test is 99% accurate. Disease prevalence is 1%. If you test positive:
A positive test only means 50% chance of disease — the prior matters enormously.
See also: KL Divergence, Key Probability Distributions