Maths notation explorer
94 symbols you will meet in machine learning papers and code: how to say each one, what it means, a tiny example, and the NumPy or PyTorch line that does the same thing.
Decode an equation from a paper
Arithmetic and relations
- equals“equals”Beginner
- is defined as“is defined as”Beginner
- approximately equal“is approximately”Beginner
- not equal“is not equal to”Beginner
- less than or equal“is at most”Beginner
- much less than“is much smaller than”Intermediate
- proportional to“is proportional to”Intermediate
- identical to“is identically equal to”Intermediate
- plus or minus“plus or minus”Beginner
- square root“root of”Beginner
- exponent“x squared”Beginner
- times / dimension“times / by”Beginner
Number systems
Sets
- element of“is in / belongs to”Beginner
- not an element of“is not in”Beginner
- subset“is a subset of”Beginner
- proper subset (usually)“is a strict subset of”Intermediate
- union“union”Beginner
- intersection“intersect”Beginner
- set difference“minus / without”Beginner
- empty set“the empty set”Beginner
- set-builder notation“the set of x such that…”Beginner
- Cartesian product“A cross B”Intermediate
Logic
Functions
Sums and products
Brackets and norms
Greek letters and conventions
Linear algebra
- bold lowercase (vector)“vector x”Beginner
- capital letter (matrix)“matrix X”Beginner
- subscripts & superscript indices“x sub i / x i j / x superscript i”Beginner
- transpose“A transpose”Beginner
- dot product“a dot b”Beginner
- Hadamard (element-wise) product“a element-wise times b”Intermediate
- cross product (3-D)“a cross b”Advanced
- tensor / outer / Kronecker product“a tensor b”Advanced
- matrix inverse“A inverse”Intermediate
- identity matrix“identity / I n”Beginner
- determinant“determinant of A”Intermediate
- trace“trace of A”Intermediate
- eigenvalue / eigenvector“A v equals lambda v”Intermediate
- rank“rank of A”Intermediate
- diagonal matrix“diag of v”Intermediate
Calculus
- derivative“d f d x / f prime of x”Beginner
- partial derivative“partial f partial x / del f del x”Beginner
- nabla / gradient“grad L / del L with respect to theta”Beginner
- Jacobian“the Jacobian of f”Advanced
- Hessian“the Hessian of f”Advanced
- integral“integral from a to b of f of x d x”Intermediate
- limit“the limit as x approaches a of f of x”Intermediate
- infinity“infinity”Beginner
- Delta (change)“delta x / change in x”Beginner
- Newton's dot (time derivative)“x dot”Advanced
Probability and statistics
- probability“P of A / p of x”Beginner
- conditional probability“probability of A given B”Beginner
- vertical bar — many meanings“given / such that / divides”Intermediate
- expectation“expected value of f of x, x drawn from p”Beginner
- is distributed as / sampled from“x is drawn from p”Beginner
- normal (Gaussian) distribution“normal with mean mu and variance sigma squared”Beginner
- covariance matrix“Sigma / covariance of x”Intermediate
- variance“variance of X”Beginner
- KL divergence“K L divergence of P from Q”Advanced
- indicator function“indicator of y equals k”Intermediate
Optimization
No symbol matches that. Try a name (gradient), a symbol (∇) or a LaTeX command (\nabla).