Model Pipeline - Flask API for model serving
This pipeline shows how a trained machine learning model is served using a Flask API. The API receives input data, processes it, uses the model to predict, and returns the prediction as a response.
This pipeline shows how a trained machine learning model is served using a Flask API. The API receives input data, processes it, uses the model to predict, and returns the prediction as a response.
Loss
0.7 |****
0.6 |***
0.5 |**
0.4 |**
0.3 |*
0.2 |*
0.1 |
+------------
1 2 3 4 5 Epochs
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.65 | 0.70 | Model starts learning with moderate accuracy. |
| 2 | 0.45 | 0.85 | Loss decreases and accuracy improves significantly. |
| 3 | 0.30 | 0.92 | Model converges with high accuracy. |
| 4 | 0.25 | 0.95 | Further fine-tuning improves performance. |
| 5 | 0.20 | 0.97 | Training stabilizes with low loss and high accuracy. |