What is Accuracy?

Accuracy is the most straight-forward evaluation metric for a classification problem, and it simply measures the overall proportion of observations that were correctly classified. The accuracy can be calculated from a confusion matrix by summing the diagonal cells (true positives and true negatives) and then dividing by the total number of observations. In general, accuracy is calculated by: 

Accuracy = (True Positives + True Negatives) / Total Observations

Using an example:

Confusion Matrix


Accuracy is = (100 + 150) /360 = .694

Author

Help us improve this post by suggesting in comments below:

– modifications to the text, and infographics
– video resources that offer clear explanations for this question
– code snippets and case studies relevant to this concept
– online blogs, and research publications that are a “must read” on this topic

Leave the first comment

Partner Ad