Model Pipeline - Spam detection pipeline
This spam detection pipeline takes email text and decides if it is spam or not. It cleans the text, turns words into numbers, trains a model to learn patterns, and then predicts new emails as spam or not.
This spam detection pipeline takes email text and decides if it is spam or not. It cleans the text, turns words into numbers, trains a model to learn patterns, and then predicts new emails as spam or not.
Loss
0.5 |****
0.4 |***
0.3 |**
0.2 |*
0.1 |
1 2 3 4 5 Epochs
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.45 | 0.78 | Model starts learning basic spam patterns |
| 2 | 0.32 | 0.85 | Loss decreases, accuracy improves |
| 3 | 0.25 | 0.89 | Model captures more features |
| 4 | 0.20 | 0.91 | Training stabilizes with good accuracy |
| 5 | 0.18 | 0.92 | Final epoch with best performance |