Gram–Schmidt Builds Orthogonal Directions
Run Gram–Schmidt by hand and in NumPy, read residual size as an overlap diagnostic, and recognize order and floating-point instability.
Tag
6articleswith this tag.
Run Gram–Schmidt by hand and in NumPy, read residual size as an overlap diagnostic, and recognize order and floating-point instability.
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.