Math: Learn to Read It, Not Fear It
In Machine Learning, equations are easier when you stop looking at them as complicated math and start reading them like sentences.
Think of it this way:
Symbols are just words.
An equation is just a sentence made from those words.
Start With the Most Common Symbols
- x — the input or data given to the model.
Example: age, height, temperature, pixels in an image, etc. - y — the actual answer.
This is what we already know to be correct. - ŷ (y-hat) — the model's predicted answer.
Think: "What did the model guess?" - w — a weight.
It tells the model how important an input should be. - b — the bias.
Think of it as an extra adjustable value that helps the model fit the data. - θ (theta) — all of the model's adjustable parameters together.
Usually this means the model's weights and biases. - L or J — the loss/error.
Think: "How wrong is the model?" - α (alpha) — the learning rate.
Think: "How big of a step should the model take while learning?"
Symbols That Tell Us What to Do
- Σ (sigma) — "add all of these."
If the model makes many errors, Σ can tell us to add those errors together. - ∇ (nabla) — the gradient.
For now, read it as:"Which direction should the model change?"
More precisely, it tells us how the loss changes when the model's parameters change. - E[X] — the expected value.
Think:"What average result should I expect if this happened many times?" - argmax — "which choice gives me the biggest result?"
- argmin — "which choice gives me the smallest result?"
In ML, we often use this idea because we want the parameters that give us the smallest loss.
Small Symbols Around Other Symbols
- xi — the i-th item.
If we have many values, the subscript tells us which one we are talking about.
Example: x1, x2, x3. - x² — x multiplied by itself.
Example: 5² = 5 × 5 = 25. - x(i) — usually means thei-th example in a dataset.
The parentheses are important: this usually does notmean "x to the power of i."
Now Read an Equation Like a Sentence
Suppose you see:
ŷ = wx + b
Don't immediately think, "Oh no, math."
Translate each symbol:
- x = input
- w = importance of that input
- b = extra adjustment
- ŷ = prediction
So the equation is simply saying:
"Take the input, multiply it by its importance, add an adjustment, and you get the model's prediction."
A More Machine-Learning-Looking Equation
You may eventually see something like:
θ := θ − α∇J(θ)
Instead of memorizing it, translate it:
- θ = the model's current settings
- J = how wrong the model is
- ∇J = which direction makes the error increase
- α = how big of a step we take
- − = move in the opposite direction
In normal English:
"Change the model's settings a little bit in the direction that reduces its error."
That is the basic idea behind gradient descent.
The Main Idea
You do not need to memorize every mathematical symbol immediately. When you see an ML equation:
- Identify what each symbol means.
- Figure out what operation is happening.
- Translate the equation into normal English.
- Only then worry about the formal mathematics.
Once you can translate the symbols, an equation stops looking like:
"θ, α, ∇, Σ ... what is going on?"
and starts sounding like:
"Make a prediction, compare it with the real answer, measure the error, and adjust the model so the next prediction is better."