Fix minor typos in 6_1_Line_Search.ipynb and 6_2_Gradient_Descent.ipynb

This commit is contained in:
Youcef Rahal
2024-02-03 13:47:32 -05:00
parent 07bcc98a85
commit 8e3008673d
2 changed files with 8 additions and 9 deletions

View File

@@ -117,7 +117,7 @@
"id": "QU5mdGvpTtEG"
},
"source": [
"Now lets create compute the sum of squares loss for the training data"
"Now let's compute the sum of squares loss for the training data"
]
},
{
@@ -341,7 +341,7 @@
" continue;\n",
"\n",
" # Rule #2 If point b is less than point c then\n",
" # then point d becomes point c, and\n",
" # point d becomes point c, and\n",
" # point b becomes 1/3 between a and new d\n",
" # point c becomes 2/3 between a and new d\n",
" if lossb < lossc:\n",
@@ -351,7 +351,7 @@
" continue\n",
"\n",
" # Rule #2 If point c is less than point b then\n",
" # then point a becomes point b, and\n",
" # point a becomes point b, and\n",
" # point b becomes 1/3 between new a and d\n",
" # point c becomes 2/3 between new a and d\n",
" a = b\n",