Professional Documents
Culture Documents
Estimating The Predictive Accuracy of A
Estimating The Predictive Accuracy of A
Accuracy of a
Classifier
Bramer, Principles of Datamining, Chap 7
Predictive accuracy
• Is the most obvious criterion to use for estimating the performance of
a classifier is predictive accuracy, i.e. the proportion of a set of
unseen instances that it correctly classifies.
• Instead, it is usual to estimate the predictive accuracy of aclassifier by
measuring its accuracy for a sample of data not used when it was
generated. There are three main strategies commonly used for this:
dividing the data into a training set and a test set, k-fold cross-
validation and N-fold (or leave-one-out) cross-validation.
Method 1: Separate Training and Test Sets
Method 1: Separate Training and Test Sets
Predicted
Negative Positive
Negative a b
Actual
Positive c d
True Positives-True negatives
Question
• Accuracy ??
• Precision ??