"What's the sideways M?"

That’s Σ, the capital Greek letter sigma. It just means “add up a bunch of things.” It looks like an M lying on its side, but it’s a sum.

Read it as: “for i going from 1 to 3, take x sub i, and add them all up.” The number under the Σ is where you start, the number on top is where you stop. If , the sum is .

It’s the same idea as a for loop with a running total:

total = 0
for i in range(1, 4):
    total += x[i]

Every symbol used in this note, in one place:

SymbolSay it asWhat it meansTiny example
”sum” (capital sigma)Add up a list of terms
”sigma” (lowercase)The sigmoid function, squashes any number into 0 to 1. Different from Σ!
“partial""A tiny change in…”. Used in derivatives = how much the loss moves when moves a hair
”theta”Shorthand for all the model’s parameters (every weight and bias) = probabilities from the model with parameters
“eta”The learning rate, i.e. the step size
”epsilon”A tiny number added to avoid dividing by zero
”x vector”A bold letter means a list of numbers (vector)
“W”A capital letter usually means a grid of numbers (matrix)A grid
”dot product”Multiply matching entries, then add them all up
”elementwise times”Multiply two lists entry-by-entry (no adding)
“K transpose”Flip a grid so rows become columnsA grid becomes
“is in”Belongs to a set = “x is a real number"
"R to the d”A list of real numbers = a 4096-long vector
”x sub i”The i-th entry of (the little number is just a label) = second entry
”x before t”Everything that came before position For :
“gets” / “becomes”Overwrite the left side with the right side (assignment)
“approximately”Close to, not exactly equal
”square root”The number that squared gives
or “e to the x”Exponential. . Always positive, grows fast,
“log”Natural log, the inverse of . Negative for ,
“infinity”Bigger than any number is used to “turn off” things
”capital phi of x”Probability that a standard bell-curve random number is below (used in GELU)

Two more reading tips

  • is read “probability of given .” The tall bar means “given” or “knowing that.”
  • A fraction like is just one symbol-group. Don’t try to cancel the ‘s like normal fractions.

Contents · The big picture →