Chapter 07 · overview · 1 min read
Probability
Probability is the maths of uncertainty. It gives numbers to "how likely?", and rules for combining those numbers. Modern AI is probabilistic at heart: a classifier outputs the probability of each label, a language model outputs a probability for every possible next word, and training itself is often framed as making the observed data as probable as possible.
Topics in this section:
- Events and Sample Spaces: the outcomes that can happen and the groups of them we care about.
- Probability Rules: the few rules every probability obeys.
- Conditional Probability: how likely something is once you know something else.
- Independence: when knowing one thing tells you nothing about another.
- Bayes Theorem: updating beliefs with evidence.
- Random Variables: turning outcomes into numbers.
- Expectation: the long-run average.
- Variance and Standard Deviation: how spread out outcomes are.
- Discrete Distributions: Bernoulli, binomial and Poisson.
- Continuous Distributions: densities, the normal curve and areas as probabilities.
- Joint and Marginal Distributions: several random quantities at once.
- Law of Large Numbers: why averages settle down.
- Central Limit Theorem: why bell curves are everywhere.
- Markov Chains: randomness that remembers only the present.