Foundations
Learn linear algebra for machine learning
Linear algebra studies vectors, matrices, and transformations. Embeddings, attention, and neural network layers are those operations applied to data.
For learners who want the geometry behind machine learning, with a visual series and a textbook chapter.
Start here
Watch the vectors lesson, then pause and compute one dot product by hand before you continue the series.
Recommended resources
Start here · BeginnerEssence of linear algebra
The visual series for vectors, span, and matrix multiplication.
www.3blue1brown.comLesson · BeginnerVectors
The first episode. Finish this before treating an embedding as a list of unexplained numbers.
www.3blue1brown.comPractice · BeginnerKhan Academy linear algebra
Exercises for the operations the videos make intuitive.
www.khanacademy.orgReference · IntermediateDeep Learning Book: Linear Algebra
The chapter written for machine learning, once the pictures are familiar.
www.deeplearningbook.org