Ouvrir le menu de navigation
AIDive
FR
Se connecter
Retour au glossaire

Accuracy

Machine Learning

A quality metric that shows what percentage of predictions the model made correctly.

Définition

Accuracy is often used in classification problems: for example, when a model determines whether an email is spam or a regular email. If out of 100 examples the model correctly recognized 90, its accuracy is 90%. But accuracy by itself is not always sufficient: for rare events, the model may look good, although it misses the most important cases.

Exemple

In the task of finding fraudulent transactions, a model may almost always say “everything is fine” and have a high percentage of correct answers, but still miss real attacks.

Pourquoi c'est important

Understanding accuracy helps you not to believe one beautiful number and correctly compare AI tools, especially when the cost of an error is different for different classes.

Fonctionnement

The metric is calculated as the ratio of correct answers to the total number of verified examples. For an honest assessment, a separate test sample is used, which the model did not see during training.

Où c'est utilisé

  • classifier evaluation
  • comparison of models
  • AI service quality control

Limites

Precision is poorly suited for unbalanced data and problems where one error is more dangerous than another. Additional metrics are often needed: recall, positive class precision, F1 or AUC.

FAQ

Why is “Accuracy” useful to know?

Understanding accuracy helps you not to believe one beautiful number and correctly compare AI tools, especially when the cost of an error is different for different classes.