23  Linear Algebra

Linear algebra is the language in which data, parameters, and the operations of a network are written. This chapter develops the geometry behind that language: vectors, dot products, and the way matrices stretch and rotate space, and then the two decompositions that recur throughout deep learning: the eigendecomposition (behind stability analysis, PCA, and the curvature of loss surfaces) and the singular value decomposition (behind low-rank approximation, conditioning, and parameter-efficient fine-tuning).

Resources and Further Reading

The references below go deeper on the geometry, decompositions, and numerical machinery sketched in this chapter, with an emphasis on the linear algebra that actually shows up in machine and deep learning; most are freely accessible online.

Books

Courses and video lectures

Tutorials, notes, and visual introductions