Home / ai basics / What is Precision and Recall

What is Precision and Recall

Measurement of accuracy in AI predictions. Learn what precision and recall is and understand the fundamentals of artificial intelligence.

precision recall ai machine learning accuracy

By AI Glossary Team

Published: May 15, 2026

What is Precision and Recall

Precision and recall are two important concepts in artificial intelligence (AI) that help measure the accuracy of predictions made by machines. Imagine you have a machine that can look at pictures and tell you if they are cats or dogs. Precision would measure how often the machine is correct when it says a picture is a cat - are most of the pictures it identifies as cats actually cats? Recall, on the other hand, would measure how many of the actual cat pictures the machine can identify - does it miss a lot of cat pictures or can it find almost all of them? These two concepts work together to give a complete picture of how well the machine is performing. Precision is like being very precise with your answers, making sure you’re right when you say something is a cat. Recall is like being very thorough, making sure you find all the cats.

Think of It Like This

Think of precision and recall like a librarian trying to find all the books by a certain author in a library. Precision is like making sure the books you pull off the shelf are actually written by that author - you don’t want to include books that aren’t. Recall is like making sure you find every single book written by that author - you don’t want to miss any. If you’re very precise, you might only pull a few books off the shelf, but you can be sure they’re all correct. If you’re very good at recall, you might find every single book, but you might also pull some books that aren’t written by that author.

Why Should You Care?

Precision and recall matter because they can affect the decisions we make based on the predictions made by machines. For example, in medical diagnosis, precision and recall are crucial - a doctor needs to be precise when diagnosing a patient, but also make sure they don’t miss any potential diagnoses. In self-driving cars, precision and recall are important for recognizing objects on the road - the car needs to be precise when identifying pedestrians or other cars, but also make sure it doesn’t miss any. If a machine is not precise or doesn’t have good recall, it can lead to mistakes that can have serious consequences.

Where You’ve Already Seen It

You’ve probably seen precision and recall in action without realizing it. For example, when you search for something on Google, the search results are a balance of precision and recall - Google tries to show you the most relevant results (precision), but also make sure it shows you all the relevant results (recall). On Netflix, the recommendation algorithm tries to suggest shows that are relevant to your interests (precision), but also make sure it suggests a wide range of shows (recall). Even in your email spam filter, precision and recall are at work - the filter tries to be precise when identifying spam emails, but also make sure it doesn’t miss any.

The One Thing to Remember

The key thing to remember is that precision and recall are two sides of the same coin - you need both to get a complete picture of how well a machine is performing. It’s not enough to just be precise, because you might miss important information. And it’s not enough to just have good recall, because you might include irrelevant information. By balancing precision and recall, machines can make more accurate predictions and help us make better decisions.

machine-learning, natural-language-processing, deep-learning

None

Related Terms