Computer Science & Data / Data Science

Confusion Matrix Metrics Calculator

Confusion Matrix

Metrics

• Accuracy = (TP + TN) / Total

• Precision = TP / (TP + FP)

• Recall = TP / (TP + FN)

• F1 = 2 × (Precision × Recall) / (Precision + Recall)