Binary Classification PDF
Binary Classification PDF
Classification
What is Binary
Classification?
Correctly Incorrectly
predicts a predicts a
diseased patient healthy patient
PREDICTED
as diseased as diseased
(FN) (TN)
Incorrectly Correctly
predicts a predicts a
diseased patient healthy patient
as healthy as healthy
ACTUAL
Positive Negative
True Positive False Positive
Positive (TP) (FP)
5 10
PREDICTED
15 70
TP + TN
Accuracy = = 0.75
TP + TN + FP + FN
TP
Recall = = 0.25
TP + FN
TP
Precision = = 0.33
TP + FP
Precision * Recall
F1 Score = 2 x = 0.28
Precision + Recall
Accuracy
TP + TN
Accuracy =
TP + TN + FP + FN
TP
Recall =
TP + FN
linkedin.com/company/dataranch