Model Pipeline - Early stopping
This pipeline trains a neural network to classify images. It uses early stopping to stop training when the model stops improving on validation data, saving time and avoiding overfitting.
This pipeline trains a neural network to classify images. It uses early stopping to stop training when the model stops improving on validation data, saving time and avoiding overfitting.
Loss
0.5 |****
0.4 |***
0.3 |**
0.2 |*
0.1 |
+---------
1 2 3 4 5 6 7 8 9 Epochs| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.45 | 0.85 | Model starts learning, loss high, accuracy moderate |
| 2 | 0.30 | 0.90 | Loss decreases, accuracy improves |
| 3 | 0.25 | 0.92 | Continued improvement |
| 4 | 0.22 | 0.93 | Model still improving |
| 5 | 0.20 | 0.94 | Improvement slows down |
| 6 | 0.19 | 0.945 | Small improvement |
| 7 | 0.18 | 0.947 | Best validation loss reached |
| 8 | 0.19 | 0.945 | Validation loss stops improving |
| 9 | 0.20 | 0.944 | Early stopping triggered, training stops |