From 9dbbb73d2d2ce29df78bc793726d4236b0b99055 Mon Sep 17 00:00:00 2001 From: Jean-Luc Parouty <Jean-Luc.Parouty@simap.grenoble-inp.fr> Date: Fri, 15 Mar 2024 17:41:14 +0100 Subject: [PATCH] Correction -T to T --- LinearReg/01-Linear-Regression.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinearReg/01-Linear-Regression.ipynb b/LinearReg/01-Linear-Regression.ipynb index 77780c5..f8c2941 100644 --- a/LinearReg/01-Linear-Regression.ipynb +++ b/LinearReg/01-Linear-Regression.ipynb @@ -124,7 +124,7 @@ "\n", "With the simplified variant : $$MSE(X,h_\\theta)=\\frac1n\\sum_{i=1}^n\\left[h_\\theta(X^{(i)})-Y^{(i)}\\right]^2$$\n", "\n", - "The optimal value of regression is : $$\\hat{ \\theta } =( X^{-T} .X)^{-1}.X^{-T}.Y$$\n", + "The optimal value of regression is : $$\\hat{ \\theta } =( X^{T} .X)^{-1}.X^{T}.Y$$\n", "\n", "Démontstration : https://eli.thegreenplace.net/2014/derivation-of-the-normal-equation-for-linear-regression" ] -- GitLab