-
Probability for ML: Bayes’ rule, likelihood, and why models output logits
Machine learning models often appear mysterious at the point where they produce an answer. A classifier receives an input, performs millions or billions of calculations, and returns something like “sp
-
The chain rule at scale: from calc-101 to backprop through a million parameters
A neural network with a million trainable parameters sounds as though it should require a million separate calculus problems.
-
Derivatives and gradients: the one calculus lesson ML actually uses
Machine learning can look like a huge collection of algorithms, architectures, and optimization tricks. Underneath most of them, however, sits one compact idea:
-
Eigenvalues and SVD without tears: compress an image to see them work
An RGB image looks visual to us, but to NumPy it is three matrices: one each for red, green, and blue. Real images contain repeated structure—smooth gradients, correlated colors, recurring edges, and
-
Matrix multiplication is all you need: shapes, batching, and why GPUs love it
If you learn one operation in modern machine learning, make it matrix multiplication (often shortened to matmul ).