Image Classification Metrics
Image Classification Metrics
1. Accuracy
The proportion of correctly classified instances out of the total instances.
Accuracy = (TP + TN) / (TP + TN + FP + FN)
2. Precision
The proportion of true positive predictions out of all positive predictions made by the
model.
Precision = TP / (TP + FP)
4. F1-Score
The harmonic mean of precision and recall. It's a good metric when you want to balance
precision and recall.
F1-Score = 2 × (Precision × Recall) / (Precision + Recall)
5. Confusion Matrix
A matrix showing the actual versus predicted classifications. It helps in visualizing
performance across classes:
- True Positives (TP), False Positives (FP), True Negatives (TN), False Negatives (FN).
9. Top-k Accuracy
The proportion of times the true label is within the top-k predicted probabilities.