Normal Equation The closed-form OLS solution (X⊤X)−1X⊤y(\mathbf{X}^\top\mathbf{X})^{-1}\mathbf{X}^\top\mathbf{y}(X⊤X)−1X⊤y. See ML Lec 2.