Notation

Every symbol the course uses, in the order the lessons introduce them. A lesson never uses a symbol before its row here.

TeXSay itMeaningWorked exampleLesson
xxan input to the modela trip of 4 km01
yythe target: the answer an example says the model should givea fare of 13.001
wwthe weight knob: the slope of a line, later any weight2.5 per km01
bbthe bias knob: where the line crosses x = 0; from lesson 08 also a second input Value, and from lesson 09 also a small expression's output, as in b = a + a3.001
\cdottimesmultiplication2.5 · 4 + 3 = 1301
\sumthe sum ofadd up a list: ∑i=1n\sum_{i=1}^{n} adds the terms for i = 1 up to n∑i=14i=1+2+3+4=10\sum_{i=1}^{4} i = 1 + 2 + 3 + 4 = 1002
\fraca over ba fraction14⋅20=5\frac{1}{4} \cdot 20 = 502
\lvertthe size of∣a∣\lvert a \rvert: a number without its sign (the left bar)∣−3∣=3\lvert -3 \rvert = 302
\rvert(closes a size)the right bar of ∣a∣\lvert a \rvert∣−3∣=3\lvert -3 \rvert = 302
nnhow many examples4 points02
iiwhich example (a subscript: xix_i is the i-th input)x3=3x_3 = 302
LLthe loss: one number for how wrong the model isMSE 5.0 for the flat line02
\partialpartial∂L∂w\frac{\partial L}{\partial w}: how fast L changes when w alone is nudged, other knobs held still7.35075−7.50.01=−14.925\frac{7.35075 - 7.5}{0.01} = -14.92503
\text(words)ordinary words inside a formula, such as lr\text{lr}lr = 0.0103
\approxis aboutapproximately equal−14.925 ≈ −1503
hhthe size of a nudgeh = 0.0103
eeEuler's number, about 2.718; exe^{x} is the function expe−1≈0.368e^{-1} \approx 0.36804
zza neuron's weighted sum before its activation2·1 + (−1)·0 − 0.5 = 1.504
\mathrm{sigmoid}sigmoid11+e−z\frac{1}{1 + e^{-z}}, a smooth step from 0 to 1sigmoid(0) = 0.504
\nablagrad∇L\nabla L: the list of every partial slope of L∇L=[3,−2]\nabla L = [3, -2] for L=3w1−2w2+5L = 3 w_1 - 2 w_2 + 506
\ldotsand so onan elided run of a listw₁, w₂, …, w₁₀₀₀₀06
aaan input Value of an operation, as in a⋅ba \cdot ba = 208
cca third input Value, or from lesson 09 a small expression's output, as in c = a · b + ac = 408
ffthe output of a small expression, or a function, as in f(x)f=(a+b)⋅c=−9f = (a + b) \cdot c = -9 at a = 1, b = 2, c = −308
gga second expression's outputg=(a⋅b)⋅c=24g = (a \cdot b) \cdot c = 24 at a = 2, b = 3, c = 408
dda fourth input Value, or a small expression's output, as in d = a · b + bd = −609
\lnnatural logthe inverse of exp: ln⁡ex=x\ln e^{x} = x; ember's method is `log`slope of ln at 2 is 1/211
\tanhtanhthe hyperbolic tangent, a smooth step from −1 to 1 (a row of lesson 11's derivative table)tanh(1) ≈ 0.761611
\mathrm{relu}relumax⁡(0,x)\max(0, x): negative in, 0 out (a row of lesson 11's derivative table)relu(−1.5) = 011
\maxmaxthe larger of the valuesmax(0.001, 0.002) = 0.00211
(64, 10)shape 64 by 10a shape tuple: the size of each axis64 rows of 10 features13
\mathsf{T}transposeATA^{\mathsf{T}}: A with its last two axes swapped(3, 5)ᵀ has shape (5, 3)17
\mathrm{Var}variancethe mean squared distance from the meanVar(1, 3, 5, 7) = 522
\sigmasigmathe standard deviation, Var\sqrt{\mathrm{Var}}σ(1, 3, 5, 7) ≈ 2.23622
\sqrtsquare rootsquare root√100 = 1022
ppa probability (a list of them sums to 1)softmax([2, 1, 0]) ≈ [0.665, 0.245, 0.090]24
\inftyinfinityan overflowed or masked valuefloat32 exp(89) = inf24
\mathbf{y}one-hot ythe target as a vector with a 1 at the true classclass 2 of 3: [0, 0, 1]25
\betabetaan EMA's keep factorβ = 0.9 keeps about the last 10 steps26
\mathbb{E}expected valuethe average over the randomnessE[kept·2] = 0.5·2 = 1 for p = 0.529
\varepsilonepsilona small constant that keeps a division safe1e−533
\lVertnorm of∥x∥\lVert x \rVert: the length of a vector‖[3, 4]‖ = 537
\rVert(closes a norm)the right bar of ∥x∥\lVert x \rVert‖[3, 4]‖ = 537