Maths for ML / Notation

P(A), p(x)P(A),\ p(x)

probability

Probability and statisticsBeginner

Say it “P of A / p of x”

P(A) is the probability of event A (between 0 and 1). Lowercase p(x) is often a density or distribution.

Example

P(heads)=0.5P(\text{heads}) = 0.5

Where you’ll see it in ML

Model outputs are probabilities over classes or next tokens.

Don’t confuse it with

Lessons that use it

← All 94 symbols