mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
add image for loss curves
This commit is contained in:
1 parent
34de5917e8
commit
845fdaa41e
1 file changed
+4
-2
@@ -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"
|
||||
"<img src=\"https://raw.githubusercontent.com/mrdbourke/pytorch-deep-learning/main/images/04-loss-curves-overfitting-underfitting-ideal.jpg\" alt=\"different training and test loss curves illustrating overfitting, underfitting and the ideal loss curves\" width=\"800\"/>\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).*"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user