Linear algebra patterns for similarity and projection tasks

125
0

A lot of machine learning reduces to linear algebra with better tooling. Dot products, norms, matrix multiplication, and projections show up in recommendation, embeddings, PCA, and optimization. I keep the implementation small and testable so it stays understandable when somebody revisits it months later.