Glossary

What is Accuracy?

In Turkish: Doğruluk oranı (accuracy) · Topic: Data and evaluation

The most basic measure of success: the share of a model's predictions that turn out to be correct, found by dividing the number of correct predictions by the total number of predictions.

How does it work?

The model makes a prediction for each example in the test data, and the predictions are compared with the true labels. The number of correct ones is divided by the total number of examples and usually reported as a percentage. 180 correct predictions out of 200 examples means 90 percent accuracy. Because it is a single number it is easy to understand, but it does not show what kinds of mistakes the model makes.

Why does it matter?

Accuracy is one of the most common success figures in news and model announcements, but it can be misleading when classes are imbalanced. If 99 percent of transactions are legitimate, a model that labels everything legitimate still reaches 99 percent accuracy. It should be read together with measures such as precision and recall.

Example

If an email filter classifies 950 out of 1,000 messages correctly, its accuracy is 95 percent.

FAQ

Is a model with high accuracy always good?

Not always. If one class dominates the data, a model that never catches rare but important cases can still show high accuracy. It is necessary to look at the types of errors.

Are accuracy and precision the same thing?

No. Accuracy measures how many of all predictions are correct. Precision looks only at how many of the examples called 'positive' really are positive.

All terms