Linear Algebra Crash Course

SERIES · 12 NOTES · 2018–2020

Twelve parts of linear algebra for programmers who need it for machine learning and never took the course. Vectors, matrices, systems of equations, inverses and determinants, vector spaces and subspaces, eigenvalues and eigenvectors, orthogonality and projections, least squares, singular value decomposition, principal component analysis, and what the whole stack is used for once it is assembled.

The examples are Python with NumPy. The order matters, since each part assumes the one before it, and the later parts are mostly recombinations of the earlier ones. Part one starts with vectors.

For the same mathematics implemented in Go against gonum rather than explained in Python, see Linear Algebra in Go.

Linear Algebra Crash Course
1

Linear Algebra: Vectors

Crash Course for Python Programmers Part 1
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATHPYTHON
2018-11-01
2

Linear Algebra: Matrices

Linear Algebra Crash Course for Programmers Part 2a
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2018-12-08
3

Linear Algebra: Systems of Linear Equations

Linear Algebra Crash Course for Programmers Part 3
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2019-01-15
4

Linear Algebra: Matrix Inverses and Determinants

Linear Algebra Crash Course for Programmers Part 4
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2019-03-20
5

Linear Algebra: Vector Spaces and Subspaces

Linear Algebra Crash Course for Programmers Part 5
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2019-05-25
6

Linear Algebra: Eigenvalues and Eigenvectors Part 1

Linear Algebra Crash Course for Programmers Part 6
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2019-07-30
7

Linear Algebra: Eigenvalues and Eigenvectors Part 2

Linear Algebra Crash Course for Programmers Part 7
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2019-10-05
8

Linear Algebra: Orthogonality and Projections

Linear Algebra Crash Course for Programmers Part 8
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2019-12-10
9

Linear Algebra: Least Squares and Regression

Linear Algebra Crash Course for Programmers Part 9
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2020-02-15
10

Linear Algebra: Singular Value Decomposition

Linear Algebra Crash Course for Programmers Part 10
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2020-04-20
11

Linear Algebra: Principal Component Analysis

Linear Algebra Crash Course for Programmers Part 11
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2020-06-25
12

Linear Algebra: Practical Applications in ML

Linear Algebra Crash Course for Programmers Part 12
LINEAR ALGEBRALINEAR ALGEBRA: PYTHONMATRICESMATH
2020-08-30