Accuracy
What is Accuracy?
In one sentence: Accuracy is the share of answers a model gets right, out of all the answers it gives.
If a model labels 100 photos and gets 90 correct, its accuracy is 90%. It is easy to understand, but it can be misleading. If 99 out of 100 emails are normal, a model that calls everything "normal" is 99% accurate yet never catches spam.
Σ Quick math / rule of thumb: Accuracy = Correct Predictions ÷ Total Predictions. Beware imbalanced data: predicting 'not fraud' 100% of the time scores 99.9% accuracy when fraud is 0.1%!
What does Accuracy look like?
A model that correctly identifies 950 out of 1,000 handwritten numbers has 95% accuracy.
Why does Accuracy matter?
Accuracy is a quick check, but you often need precision and recall too to see the real picture.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/accuracy/">Accuracy, explained simply</a> (The AI Math Dictionary)