The Accuracy Metric
Definition: The proportion of correct predictions over total predictions.
Predicted Class
Actual Class
Positive
Negative
Positive
Negative
TP
True Positive
FN
False Negative
FP
False Positive
TN
True Negative
Accuracy =
TP
+
TN
TP
+
FP
+
FN
+
TN