Encyclopedia · 176 concepts

Math & Optimization · beginner · concept 38 of 176

Linear Algebra for ML

The substrate everything runs on: data is vectors, models are matrices, and a forward pass is matrix multiplication. You need a working feel for dot products, matrix shapes, and eigenvectors, not proofs. GPUs exist because this one operation dominates all of AI. SVD, the workhorse matrix decomposition, is the machinery behind PCA and the low-rank idea LoRA reuses.

Key terms

VectorMatrix multiplicationDot productEigenvaluesRankSVD (singular value decomposition)

Where you meet it in the real world

Every single forward pass, embeddings, attention, PCA, graphics, and the GPU market

Guides and articles