Model Pipeline - Label encoding
Label encoding changes words or categories into numbers so a computer can understand them. It replaces each unique category with a unique number.
Label encoding changes words or categories into numbers so a computer can understand them. It replaces each unique category with a unique number.
Loss
0.8 |*****
0.6 |****
0.4 |***
0.3 |**
0.25|*
+---------
Epochs 1-5
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.8 | 0.40 | Model starts with low accuracy using encoded labels |
| 2 | 0.6 | 0.55 | Accuracy improves as model learns from encoded labels |
| 3 | 0.4 | 0.75 | Loss decreases and accuracy increases steadily |
| 4 | 0.3 | 0.85 | Model converges well with label encoded data |
| 5 | 0.25 | 0.90 | Final epoch shows good performance using label encoding |