AI engineering glossary · Evaluation metrics

What is r-precision?

R-precision: Precision measured at a cutoff equal to the number of relevant documents R that exist for the query. Because the cutoff adapts to each query, the precision and recall at that point are equal. It gives a single order-aware figure without choosing k.

Level: advancedTopic: Evaluation metrics

R-precision: an example

A query has 8 relevant documents; 5 of the top 8 results are relevant, so R-precision is 5 / 8 = 0.625.

Related terms

More Evaluation metrics terms

Where you learn it

R-precision is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.