From 2c60dc74496bfc2c8c6739c45f416afd89a4a5af Mon Sep 17 00:00:00 2001 From: tigco <15081919+tigco@users.noreply.github.com> Date: Sat, 8 Sep 2018 17:58:59 +0300 Subject: [PATCH] Correct the minimization method in the example code I believe you meant to use conjugate gradient algorithm here. --- Exercise3/exercise3.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exercise3/exercise3.ipynb b/Exercise3/exercise3.ipynb index e37be91f..add80ef8 100755 --- a/Exercise3/exercise3.ipynb +++ b/Exercise3/exercise3.ipynb @@ -513,7 +513,7 @@ " initial_theta, \n", " (X, (y == c), lambda_), \n", " jac=True, \n", - " method='TNC',\n", + " method='CG',\n", " options=options) \n", " \"\"\"\n", " # Some useful variables\n",