Support investigative journalism — donate to IRE →

Accuracy

noun
Foundational concepts

The number of times a classification model makes a correct prediction. This is also calculated by taking 1 minus the error rate.

In terms of binary classification model's confusion matrix, accuracy = TP + TN / (TP + TN + FP + FN). Although the formula for accuracy doesn't change in multiclassification models, you can learn more about using precision in multiclassification models on Evidently AI.

Accuracy is a generally good metric but doesn't convey all essential information. For instance, think about a binary classification model where the output is either "cancer" or "no cancer." The model could be very good at saying there's no cancer (finding true negatives) but not good at labeling cancer (finding true positives, incorrectly making them false negatives). The accuracy metric would not necessarily capture the false negatives or instances where cancer should've been detected but was not.

There are other metrics used to evaluate the effectiveness of a model including F1 Score, recall, and precision.

Entry by Libby Seline
About this glossary — who's behind this site and how you can contribute.