SWE622 Lecture 3-1 Classification Accuracy
SWE622 Lecture 3-1 Classification Accuracy
Lecture 3 Annex 1
Classification Accuracy
Dr. Mohammad Abdullah-Al-Wadud
[email protected]
Few Keywords
• TP = Number of test samples correctly classified as
‘positive’.
𝑇𝑃 + 𝑇𝑁
𝐴𝑐𝑐𝑢𝑟𝑎𝑐𝑦 =
𝑇𝑃 + 𝑇𝑁 + 𝐹𝑃 + 𝐹𝑁
𝑇𝑃
Precision=
𝑇𝑃+𝐹𝑃
𝑇𝑃
Recall=
𝑇𝑃+𝐹𝑁
The F-measure
• Harmonic average of precision and recall
2 × 𝑝𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 × 𝑟𝑒𝑐𝑎𝑙𝑙
𝐹=
𝑝𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 + 𝑟𝑒𝑐𝑎𝑙𝑙
BreakEvenPoint
• BreakEvenPoint = PRECISION = RECALL
Some other measures
• Sensitivity
• Specificity
• Receiver Operator Characteristic (ROC) area
• etc.