Fix some typpos in Notebooks/Chap05/5_1_Least_Squares_Loss.ipynb

This commit is contained in:
Youcef Rahal
2024-01-25 10:16:46 -05:00
parent 6e4551a69f
commit 2adc1da566

View File

@@ -431,7 +431,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"# Now let's plot the likelihood, negative log likelihood, and least squares as a function the value of the offset beta1\n", "# Now let's plot the likelihood, negative log likelihood, and least squares as a function of the value of the offset beta1\n",
"fig, ax = plt.subplots(1,2)\n", "fig, ax = plt.subplots(1,2)\n",
"fig.set_size_inches(10.5, 5.5)\n", "fig.set_size_inches(10.5, 5.5)\n",
"fig.tight_layout(pad=10.0)\n", "fig.tight_layout(pad=10.0)\n",
@@ -530,7 +530,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"# Now let's plot the likelihood, negative log likelihood, and least squares as a function the value of the standard deviation sigma\n", "# Now let's plot the likelihood, negative log likelihood, and least squares as a function of the value of the standard deviation sigma\n",
"fig, ax = plt.subplots(1,2)\n", "fig, ax = plt.subplots(1,2)\n",
"fig.set_size_inches(10.5, 5.5)\n", "fig.set_size_inches(10.5, 5.5)\n",
"fig.tight_layout(pad=10.0)\n", "fig.tight_layout(pad=10.0)\n",