06 - ML - Classificaion Performance Evaluation Measures
06 - ML - Classificaion Performance Evaluation Measures
06 - ML - Classificaion Performance Evaluation Measures
3
Evaluation
HOW
Comparison b/w Human and Method
Method is simple
Method is intuitive
Actual class C1 ¬ C1
\Predicted class
C1 True Positives False Negatives
(TP) (FN)
¬ C1 False Positives True Negatives
(FP) (TN)
5
5
Confusion Matrix
Confusion Matrix:
Actual class\Predicted class C1 ¬ C1
C1 True Positives (TP) False Negatives (FN)
¬ C1 False Positives (FP) True Negatives (TN)
6
6
Classifier Evaluation Metrics: Accuracy,
A\P C ¬C
C TP FN P
¬C FP TN N
P’ N’ All
8
8
Classifier Evaluation Metrics:
Precision and Recall
Precision: exactness – what % of tuples that the classifier
labeled as positive are actually positive
Compute
Precision, Recall , and F-Measure
and
then Compare the results
Do we need another Performance Evaluation
Measures?
Actual Positive Acutal Negative
Predicted Positive 10 25
Predicted Negative 15 100
Compute Accuracy
Do we need another Performance Evaluation
Measures?
Actual Positive Acutal Negative
Predicted Positive 10 25
Predicted Negative 15 100
Compute Accuracy