Merge pull request #96 from pitmonticone/main

Fix typos in notebooks
This commit is contained in:
udlbook
2023-11-02 16:43:34 +00:00
committed by GitHub
20 changed files with 32 additions and 32 deletions

View File

@@ -31,7 +31,7 @@
"source": [
"# **Notebook 6.2 Gradient descent**\n",
"\n",
"This notebook recreates the gradient descent algorithm as shon in figure 6.1.\n",
"This notebook recreates the gradient descent algorithm as shown in figure 6.1.\n",
"\n",
"Work through the cells below, running each cell in turn. In various places you will see the words \"TO DO\". Follow the instructions at these places and make predictions about what is going to happen or write code to complete the functions.\n",
"\n",

View File

@@ -123,7 +123,7 @@
{
"cell_type": "code",
"source": [
"# Initialize the parmaeters and draw the model\n",
"# Initialize the parameters and draw the model\n",
"phi = np.zeros((2,1))\n",
"phi[0] = -5 # Horizontal offset\n",
"phi[1] = 25 # Frequency\n",

View File

@@ -123,7 +123,7 @@
{
"cell_type": "code",
"source": [
"# Initialize the parmaeters and draw the model\n",
"# Initialize the parameters and draw the model\n",
"phi = np.zeros((2,1))\n",
"phi[0] = -5 # Horizontal offset\n",
"phi[1] = 25 # Frequency\n",

View File

@@ -248,7 +248,7 @@
" # Replace this line:\n",
" v = v\n",
"\n",
" # TODO -- Modify the statistics according to euation 6.16\n",
" # TODO -- Modify the statistics according to equation 6.16\n",
" # You will need the function np.power\n",
" # Replace these lines\n",
" m_tilde = m\n",