Skip to main contentSkip to navigationSkip to footer
DigiTransact AI Education Centre Start Learning

Level 2 · Module 12 · 10 minutes

Accuracy: a friendly score with a blind spot

What you will learn
  • Explain how accuracy is calculated and why it is popular.
  • Explain the accuracy blind spot when one class is much more common.
  • Describe the checks, such as a baseline and per-class counts, that make a score trustworthy.

Accuracy is the share of predictions that were correct. It is the first score most people meet because it is easy to explain. It is also easy to mislead with, especially when one answer is far more common than the others. A model can look strong on accuracy while being useless for the decision it was built to support.

The minority trap

Imagine a check that flags a rare fault in a batch of components. Almost every component is fine. A model that always says fine will be correct for the great majority of items, so its accuracy looks excellent. Yet it catches none of the faults, which is the entire purpose of the check. This is the classic accuracy blind spot under imbalance: the common case dominates the score.

Base rates

The share of real cases that are positive is called the base rate. When the base rate is very low, almost any prediction that always chooses the common answer will score well. Before trusting accuracy, ask what share of cases are in each class and what a lazy, always-common prediction would score. If a model cannot clearly beat that plain baseline, it has not shown value.

What accuracy hides

A small table of counts, sometimes called a confusion matrix, shows the errors by type and makes the blind spot visible. Two models with the same accuracy can make very different kinds of mistake.

When accuracy is fair

Accuracy is a reasonable headline when classes are balanced and mistakes cost roughly the same. Even then, report it next to a baseline and break it down by class. For rare events, use measures that focus on the rare class, and treat the plain correct-answer share as a supporting number rather than the verdict.

Practice versus a live model

Counting correct answers by hand on a short table is a simplified teaching picture of scoring. Real evaluation software reports several measures on held-out rows, and a commercial report usually lists them side by side rather than one headline share. No model is trained here, and the counts you make up are hypothetical.

Common misconception

A high accuracy score proves that a model is useful for its intended decision. Accuracy can be high while the model misses every rare case it was built to catch. Compare with an always-common baseline, check the counts for each class, and choose a measure that reflects the cost of each kind of mistake before calling the model useful.

Guided practice

On paper, write a short table of hypothetical payment records, mostly genuine and a few suspicious, with the correct answers beside them. Score an always-genuine predictor by counting how many rows it gets right, then write a sentence explaining why the score is high and the predictor is worthless. Propose two counts you would report instead. This is a paper exercise; no model is trained.

Knowledge check

1. What is accuracy?

2. Why can accuracy mislead on an imbalanced problem?

3. What is a useful first comparison for an accuracy score?

Independent practice

Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.

Last reviewed: · Report a problem

Last updated: