Skip to content
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
6 changes: 3 additions & 3 deletions iwd_2020.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -598,14 +598,14 @@
"\n",
"**3) Add plots to observe overfitting**\n",
"\n",
"If trained for too long, a NN may begin to memorize the training data (rather than learning patterns that generalize to unseen data). This is called overfitting. Of all the hyperparmeters in the design of your network (the number and width of layers, the optimizer, etc) - the most important to set properly is ```epochs```. You will learn more about this in exercise two.\n",
"If trained for too long, a NN may begin to memorize the training data (rather than learning patterns that generalize to unseen data). This is called overfitting. Of all the hyperparameters in the design of your network (the number and width of layers, the optimizer, etc) - the most important to set properly is ```epochs```. You will learn more about this in exercise two.\n",
"\n",
"To create plots to observe overfitting, modify your training loop as follows.\n",
"\n",
"Change:\n",
"\n",
"```\n",
"history = model.fit(train_images, train_labels, epochs=EPOCHS)\n",
"model.fit(train_images, train_labels, epochs=EPOCHS)\n",
"```\n",
"\n",
"to:\n",
Expand Down Expand Up @@ -2445,4 +2445,4 @@
]
}
]
}
}