Example
D ={O1, O2, O3, O4, O5, O6, O7, O8}
Correct answer set ={O1, O5, O7}
Algorithm returns ={O1, O3, O5, O6}
∴ P = {O1, O5, O7}
N = {O2, O3, O4, O6, O8}
TP = {O1, O5}
TN = {O2, O4, O8}
FP = {O3, O6}
FN = {O7}
∴ Recall = Sensitivity = 2/3 = 0.67
Precision = 2/4 = 0.5
Specificity = 3/5 = 0.6
F-score = 4/7 = 0.571
Accuracy = 5/8 = 0.625
Error rate = 3/8 = 0.375
Arnab Bhattacharya (
[email protected]) CS685: Classification 1 2012-13 10 / 32