






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







docsity.com
Model Evaluation and Selection Evaluation metrics: How can we measure accuracy? Other metrics to consider? Use test set of class
labeled tuples instead of training set when assessing accuracy Methods for estimating a classifier’s accuracy: Holdout method, random subsampling Cross
validation Bootstrap Comparing classifiers: Confidence intervals Cost
benefit analysis and
Curves docsity.com
Classifier Evaluation Metrics: Confusion Matrix Actual class\Predicted class buy_computer = yes buy_computer = no Total buy_computer = yes 6954 46 7000 buy_computer = no 412 2588 3000 Total 7366 2634 10000 Given m classes, an entry,
i,j in a confusion matrix indicates
of tuples in class i that were labeled by the classifier as class j May have extra rows/columns to provide totals Confusion Matrix: Actual class\Predicted class C 1 ¬ C 1 C 1 True Positives (TP) False Negatives (FN) ¬ C 1 False Positives (FP) True Negatives (TN) Example of Confusion Matrix: docsity.com
Classifier Evaluation Metrics: Accuracy, Error Rate, Sensitivity and Specificity Classifier Accuracy, or recognition rate: percentage of test set tuples that are correctly classified Accuracy
TN)/All Error rate:
- accuracy
or Error rate
FN)/All Class Imbalance Problem
One class may be rare
e.g. fraud, or
positive Significant majority of the negative class and minority of the positive class Sensitivity
True Positive recognition rate Sensitivity
Specificity
True Negative recognition rate Specificity
A\P C ¬C C TP FN P ¬C FP TN N P’ N’ All docsity.com
Classifier Evaluation Metrics: Example Precision
Recall
Actual Class\Predicted class cancer = yes cancer = no Total Recognition(%) cancer = yes 90 210 300
( sensitivity cancer = no 140 9560 9700
( specificity) Total 230 9770 10000
( accuracy ) docsity.com
July 19, 2012 Data Mining: Concepts and Techniques Predictor/Estimation Error Measures Measure predictor accuracy: measure how far off the predicted value is from the actual known value Loss function : measures the error betw. y i^ and the predicted value y ’i^ Absolute error: | y i^
1 |' | d y y d i i i
1 2 )' ( MSE docsity.com
Unsupervised Model Evaluation (cluster quality)
docsity.com
Supervised Learning for Unsupervised Model Evaluation
docsity.com