Loading...
Loading...
Loading Curriculum...
Loading Subject...
Loading Topic...
Loading Lesson...
Loading Lab...
Linear algebra is the math of vectors, matrices, and linear transformations. Modern ML is implemented as large sequences of matrix multiplications plus nonlinearities — so linear algebra is the backbone of efficient model computation.
A matrix W defines a linear map. For input vector x, the output y = Wx is a new vector whose components are weighted sums of x.
y = Wx + b (a typical neural network layer)The dot product measures alignment and is fundamental to similarity search and attention.
x · y = Σᵢ xᵢ yᵢ||x||₂) measure vector length and are used in regularization and normalization.Decompositions reveal structure inside matrices — useful for dimensionality reduction and understanding geometry.
Av = λv captures directions v that a matrix scales by λ.A = U Σ Vᵀ generalizes eigen ideas to any matrix; PCA is closely related to SVD on centered data.