Stockertim Dictionary · Technology
Classification accuracy
Also called accuracy rate, model accuracy
In short
The share of cases a classification model labels correctly, a figure that can look impressive yet mislead when one class is far more common than the others.
- Advanced
- Ratio or metric
- Checked
In detail
Classification accuracy is the simplest grade for a model that sorts items into categories, such as a tool that tags news headlines as positive, negative or neutral, or a system that flags card payments as fraudulent or genuine. Take a set of cases whose true labels are known, run the model on them and count the correct answers. Dividing by the total gives a share between 0 and 1, usually shown as a percentage.
The trouble starts when classes are unbalanced. If only 2 in every 100 payments are fraudulent, a model that calls everything genuine scores 98% while catching no fraud at all. Analysts therefore look at a confusion matrix, which shows hits and misses for each class, and at precision and recall, which focus on the class that matters. Comparing accuracy with a naive baseline, such as always predicting the commonest label, shows whether the model adds anything.
Accuracy also has to be measured on cases the model did not see while it was being built. A score worked out on the training data rewards memorisation and tends to flatter the model compared with its performance on tomorrow's headlines or transactions.
Formula
Accuracy = C / N
- C
- number of cases labelled correctly
- N
- total number of cases tested
Worked example
A sentiment model labels 1,000 headlines about made-up listed firms. Human reviewers agree with 820 of its labels, and 700 of the headlines are neutral.
- Model accuracy: 820 / 1000 = 82%
- Baseline that calls every headline neutral: 700 / 1000 = 70%
- Extra headlines the model gets right: 820 − 700 = 120
The 82% looks strong, but 70% was available by guessing; the model's real contribution is the 120 extra correct labels.
In practice
Banks, payment firms and news-analytics teams report accuracy alongside other measures when they test models. UK guidance from the Information Commissioner separates the statistical accuracy of an AI system from the accuracy of personal data and expects firms to pick measures suited to the task.
Watch out
- High accuracy on unbalanced data can hide a model that never spots the rare class.
- Statistical accuracy of a model is a different idea from personal data being correct under data protection law.
- Always compare with a simple baseline and test on held-out data.
Learn it properly
Official sources
- What do we need to know about accuracy and statistical accuracy? · Information Commission (UK)
- Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1 · National Institute of Standards and Technology
Facts last checked on 4 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.