Maths for ML / Notation

a∣ba \mid b

vertical bar — many meanings

Probability and statisticsIntermediate

Say it “given / such that / divides”

Context decides: 'given' in probability, 'such that' in set-builder, 'divides' in number theory. Two bars ‖ mean a norm or KL divergence.

Example

P(y∣x) vs {x∣x>0}P(y\mid x)\ \text{vs}\ \{x \mid x>0\}

Where you’ll see it in ML

Reading p(y | x) correctly is step one for most ML papers.

Don’t confuse it with

← All 94 symbols