latent state // log

Latent State // Log

2026
SEP 11 // ML
The Normal Equation: Linear Regression in One Line
Why you would fit a line at all, how the normal equation does it in O(nd² + d³), and a live chart to feel it: turn the noise, slope and intercept knobs and watch the fit, the residuals and the MSE respond.
JUL 28 // CUDA · ML
Matrix Multiplication, From Definition to Cache Lines
One multiply, three implementations, three orders of magnitude — measured on a Skylake desktop, then explained: cache lines, arithmetic intensity, and the tiling idea every BLAS and every GPU matmul kernel is built on.