Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 Typos Updated lecture5-regularization.ipynb #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions aml-book/contents/lecture5-regularization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
}
},
"source": [
"Let's look at this via an example. Below, we are generating a separate held out dataset from the same data generating process (represented via red dots on the figures). We fit three different models (the orange curves) to our training set (the blue dots), and observe their performance."
"Let's look at this via an example. Below, we are generating a separate holdout dataset from the same data-generating process (represented via red dots on the figures). We fit three different models (the orange curves) to our training set (the blue dots), and observe their performance."
]
},
{
Expand Down Expand Up @@ -671,7 +671,7 @@
}
},
"source": [
"__Example__: Flipping a coin. Each flip has same probability of heads & tails and doesn't depend on previous flips."
"__Example__: Flipping a coin. Each flip has the same probability of heads & tails and doesn't depend on previous flips."
]
},
{
Expand Down Expand Up @@ -897,7 +897,7 @@
}
},
"source": [
"Let's also genenerate a holdout dataset."
"Let's also generate a holdout dataset."
]
},
{
Expand Down Expand Up @@ -1195,7 +1195,7 @@
"\n",
"Recall that overfitting is one of the most common failure modes of machine learning.\n",
"* A very expressive model (a high degree polynomial) fits the training dataset perfectly.\n",
"* The model also makes wildly incorrect prediction outside this dataset, and doesn't generalize."
"* The model also makes wildly incorrect predictions outside this dataset, and doesn't generalize."
]
},
{
Expand Down Expand Up @@ -1256,7 +1256,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"In this example, the polynomial passes through every training set points, but its fit is very bad outside the small training set."
"In this example, the polynomial passes through every training set point, but its fit is very bad outside the small training set."
]
},
{
Expand Down