Open Agent School · Public worked example

Classification accuracy: meaning and example

Welcome! Take one idea with you today.

The number of correct class predictions divided by the total number of evaluated predictions.

Picture it: Correctly classifying 90 out of 100 messages gives 90% accuracy.

What is easy to mix up?

If 99% of messages are not spam, always predicting not-spam scores 99% while catching none. This metric is distinct from factual accuracy of generated answers.

Teaching example by Open Agent School. Source: Google - Machine Learning Glossary.