The World as Numbers
Representation, features, scaling, and first data geometry
Interactive and computational labs for Linear Algebra as a Language. Each chapter has a Jupyter notebook for deeper Python work and a standalone HTML lab for visual exploration.
Representation, features, scaling, and first data geometry
Vectors as points, arrows, states, and high-dimensional objects
Linear combinations, span, mixtures, and matrix-vector products
Data clouds, features, scaling, clusters, and nearest neighbors
Matrices as transformations and feature-mixing machines
Geometric transformations, determinant, area, and composition
Linear systems, inverse problems, elimination, and consistency
Rank, null space, column space, and information loss
Norms, distances, nearest neighbors, and high-dimensional distance
Dot products, cosine similarity, correlation, and text similarity
Projection, residuals, least squares, and approximation
Orthonormal bases, Gram-Schmidt, QR, and stable computation
Hidden directions, eigenvalues, repeated action, and data variation
Power iteration, Markov chains, stationary behavior, and ranking
Quadratic forms, positive definiteness, gradients, and optimization
Singular values, rank-one layers, low-rank structure, and denoising
Images, SVD compression, storage, energy, and denoising
Variance, covariance, scores, loadings, dimension reduction, and visualization
Signals as vectors, frequency bases, FFT, filtering, and compression
Local averages, differences, multiscale structure, compression, and denoising
Pixels, color channels, convolution, edges, pooling, and feature maps
Document vectors, TF-IDF, cosine search, SVD topics, and embeddings
Layers, activations, softmax, hidden representations, and training
User-item matrices, similarity, latent factors, and matrix factorization
Embeddings, attention, neural layers, vector search, and AI systems
| Chapter | Lab | Main idea | Google Colab | Interactive |
|---|---|---|---|---|
| 1 | The World as Numbers | Representation, features, scaling, and first data geometry | Google Colab | Interactive |
| 2 | Vectors: Numbers with Meaning | Vectors as points, arrows, states, and high-dimensional objects | Google Colab | Interactive |
| 3 | Combining Ideas | Linear combinations, span, mixtures, and matrix-vector products | Google Colab | Interactive |
| 4 | Data as Points | Data clouds, features, scaling, clusters, and nearest neighbors | Google Colab | Interactive |
| 5 | Matrix Machines | Matrices as transformations and feature-mixing machines | Google Colab | Interactive |
| 6 | Stretching, Rotating, Shearing | Geometric transformations, determinant, area, and composition | Google Colab | Interactive |
| 7 | Solving Backwards | Linear systems, inverse problems, elimination, and consistency | Google Colab | Interactive |
| 8 | When Information Is Lost | Rank, null space, column space, and information loss | Google Colab | Interactive |
| 9 | Length and Distance | Norms, distances, nearest neighbors, and high-dimensional distance | Google Colab | Interactive |
| 10 | Angles and Similarity | Dot products, cosine similarity, correlation, and text similarity | Google Colab | Interactive |
| 11 | Projection: The Best Shadow | Projection, residuals, least squares, and approximation | Google Colab | Interactive |
| 12 | Orthogonality | Orthonormal bases, Gram-Schmidt, QR, and stable computation | Google Colab | Interactive |
| 13 | Eigenvectors | Hidden directions, eigenvalues, repeated action, and data variation | Google Colab | Interactive |
| 14 | Stability, Ranking, Iteration | Power iteration, Markov chains, stationary behavior, and ranking | Google Colab | Interactive |
| 15 | Energy Landscapes | Quadratic forms, positive definiteness, gradients, and optimization | Google Colab | Interactive |
| 16 | SVD: Matrix Microscope | Singular values, rank-one layers, low-rank structure, and denoising | Google Colab | Interactive |
| 17 | Image Compression | Images, SVD compression, storage, energy, and denoising | Google Colab | Interactive |
| 18 | PCA | Variance, covariance, scores, loadings, dimension reduction, and visualization | Google Colab | Interactive |
| 19 | Fourier Analysis | Signals as vectors, frequency bases, FFT, filtering, and compression | Google Colab | Interactive |
| 20 | Haar Wavelets | Local averages, differences, multiscale structure, compression, and denoising | Google Colab | Interactive |
| 21 | Images as Matrices | Pixels, color channels, convolution, edges, pooling, and feature maps | Google Colab | Interactive |
| 22 | Text as Vectors | Document vectors, TF-IDF, cosine search, SVD topics, and embeddings | Google Colab | Interactive |
| 23 | Neural Networks as Matrix Machines | Layers, activations, softmax, hidden representations, and training | Google Colab | Interactive |
| 24 | Recommendation Systems | User-item matrices, similarity, latent factors, and matrix factorization | Google Colab | Interactive |
| 25 | The Grammar of AI | Embeddings, attention, neural layers, vector search, and AI systems | Google Colab | Interactive |