Model Pipeline - Logistic regression for text
This pipeline shows how logistic regression can classify text messages as positive or negative by turning words into numbers and learning from examples.
This pipeline shows how logistic regression can classify text messages as positive or negative by turning words into numbers and learning from examples.
Loss
0.7 |****
0.6 |***
0.5 |**
0.4 |*
0.3 |
1 2 3 4 5 Epochs| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.65 | 0.60 | Model starts learning, loss high, accuracy low |
| 2 | 0.50 | 0.75 | Loss decreases, accuracy improves |
| 3 | 0.40 | 0.82 | Model learns important word patterns |
| 4 | 0.35 | 0.85 | Loss continues to drop, accuracy rises |
| 5 | 0.32 | 0.87 | Training converges with good accuracy |