From 845fdaa41e642e3ba9ae62f959272cd4beb534d9 Mon Sep 17 00:00:00 2001 From: Daniel Bourke Date: Thu, 14 Apr 2022 10:19:40 +1000 Subject: [PATCH] add image for loss curves --- 04_pytorch_custom_datasets.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/04_pytorch_custom_datasets.ipynb b/04_pytorch_custom_datasets.ipynb index 3ed86ef..3792a87 100644 --- a/04_pytorch_custom_datasets.ipynb +++ b/04_pytorch_custom_datasets.ipynb @@ -2717,11 +2717,13 @@ "\n", "As in, it's learning the patterns in the training too well and those patterns aren't generalizing to the test data.\n", "\n", - "The other side is when your training and test loss are far higher than you'd like, this is considered **underfitting**.\n", + "The other side is when your training and test loss are not as low as you'd like, this is considered **underfitting**.\n", "\n", "The ideal position for a training and test loss curve is for them to line up closely with each other.\n", "\n", - "TK image - ideal loss curves (these could be a graphic), overfitting, underfitting" + "\"different\n", + "\n", + "***Left:** If your training and test loss curves aren't as low as you'd like, this is considered **underfitting**. **Middle:** When your test/validation loss is higher than your training loss this is considered **overfitting**. **Right:** The ideal scenario is when your training and test loss curves line up over time. This means your model is generalizing well. There are more combinations and different things loss curves can do, for more on these, see Google's [Interpreting Loss Curves guide](https://developers.google.com/machine-learning/testing-debugging/metrics/interpretic).*" ] }, {