conditional probability
Say it “probability of A given B”
Probability of A, once you know B happened. The bar means 'given'.
Example
A classifier: probability of label y given input x, with parameters θ.
Where you’ll see it in ML
Every predictive model is a conditional distribution; LLMs model p(next token | previous tokens).
Don’t confuse it with
- probability P(A) is the probability of event A (between 0 and 1). Lowercase p(x) is often a density or distribution.
- vertical bar — many meanings Context decides: 'given' in probability, 'such that' in set-builder, 'divides' in number theory. Two bars ‖ mean a norm or KL divergence.
- set-builder notation Describes a set by a rule: everything before the bar, filtered by the condition after it.