All Articles

  • | |

    Left Null Space Primer

    The left null space of a matrix A is the null space of A transpose, the set of vectors y with y transpose A equal to zero. It is orthogonal to the column space, and together they fill the output space. When Ax = b has no solution, the left null space part of b is the least-squares residual.

  • | |

    Row Space Primer

    The row space of a matrix A is the span of its rows, equal to the column space of A transpose. It is orthogonal to the null space and has dimension equal to the rank. Every input vector splits uniquely into row-space and null-space parts, and only the row-space part determines the output.

  • |

    Outer Product Expansion Primer

    A matrix product AB equals the sum of outer products of the k-th column of A and the k-th row of B. Each term is a matrix of rank at most one, so the rank of AB cannot exceed the inner dimension. This view underlies singular value decomposition and sample-by-sample accumulation of X transpose X.

  • |

    Hidden Technical Debt in Machine Learning Systems

    This review of Sculley et al. (NIPS 2015) explains why ML systems are fast to build but costly to maintain: data-driven behavior adds system-level debt that code refactoring cannot remove. It covers entanglement, correction cascades, unstable data, feedback loops, glue code, configuration, and fixed thresholds, with mitigations for each.

  • |

    Null Space Primer

    The null space of a matrix A is the set of all input vectors that A sends to zero, a subspace whose dimension, the nullity, adds to the rank to give the input dimension. When Ax = b has a solution, it is unique only if the null space holds the zero vector alone; otherwise there are infinitely many.

  • |

    Bipartite Graph Quick Start

    A bipartite graph splits its vertices into two disjoint sets so that every edge joins one set to the other, which holds exactly when the graph has no odd cycle. A complete bipartite graph joins every cross pair, and a neural network’s fully connected layer is a directed, weighted complete bipartite graph.

  • |

    Singular Value Decomposition Primer

    Singular value decomposition writes any real matrix, of any size or rank, as an orthogonal matrix, a diagonal matrix of singular values, and another orthogonal matrix. Singular values are the semi-axis lengths of the ellipse the matrix makes from the unit circle, and keeping the largest k gives the best rank-k approximation behind PCA and the pseudo-inverse.

  • |

    Matrix Operations Primer

    Matrix addition, subtraction, and scalar multiplication work element by element on same-size matrices, while a product needs matching inner dimensions and changes when the order changes. There is no division, only multiplication by an inverse on a chosen side. Element-wise derivatives and integrals yield the normal equations and the multivariate normal constant.

  • |

    Scores in Partial Least Squares

    PLS extracts scores as coordinates in a low-dimensional latent space that maximizes the covariance between inputs X and targets Y. That one set of scores reduces dimension, extracts features related to Y, removes multicollinearity, and supports visualization and anomaly detection, which suits sensor and spectral data with many correlated variables.

  • |

    Lagrange Multiplier Method

    At an extremum of f on the constraint g(x, y) = C, the gradient of f equals lambda times the gradient of g. The multiplier lambda is the rate at which the optimal value changes as C changes, and setting the partial derivatives of the Lagrangian to zero gives a solvable system for the optimum.

  • |

    Dot Product Primer

    The dot product, the sum of element-wise products, equals the product of two vector lengths and the cosine of their angle. When the weight vector has unit length, it is the signed length of the input projected onto that axis, which is how linear regression predictions and PLS and PCA scores are computed.

  • |

    NAS SMB Drive Mapping

    Map a NAS on Windows by connecting one shared folder, not the whole NAS, to each drive letter. In a non-administrator PowerShell, store the NAS password with cmdkey, then run net use with /persistent:yes so the drive appears in File Explorer and reconnects after a reboot, avoiding System error 67.