IOAI ML Notes Mathematics FundamentalsLinear Algebra

Vectors, Norms, and Dot Product

Math fundamentals note for IOAI ML preparation.

Syllabus Map


Core Idea

Key Formulas

x1=ixi,x2=ixi2\|x\|_1 = \sum_i |x_i|, \quad \|x\|_2 = \sqrt{\sum_i x_i^2} xy=ixiyix^\top y = \sum_i x_i y_i cos(θ)=xyx2y2\cos(\theta) = \frac{x^\top y}{\|x\|_2\|y\|_2}

Practical Notes

Feature scaling affects all norm-based comparisons.

L1 and L2 norms serve different modeling goals.

Why This Matters for ML

← Back to Blog