Linear Algebra in a Tiny Neural Network
Trace every shape, bias, activation, and rank change through a two-layer network with a worked NumPy example and an interactive explorer.
Tag
5articleswith this tag.
Trace every shape, bias, activation, and rank change through a two-layer network with a worked NumPy example and an interactive explorer.
Solve AI parameter-recovery systems with NumPy, then use residuals, condition numbers, and singularity checks to judge whether the answer is trustworthy.
Compute a matrix times a vector by rows and by columns, implement both views in NumPy, and debug dense-layer shape and operator mistakes.
Learn to read row and column vectors, build a document feature vector by hand and in NumPy, and catch shape or feature-order mistakes.
Learn sigma and product notation, expand bounds into loops, and use NumPy sums and means to turn per-example errors into a mean squared error objective.