AI engineering glossary · Evaluation metrics

What is RR (reciprocal rank)?

Reciprocal rank (also called RR): For a single ranked result list, one divided by the position of the first relevant item. It rewards putting a correct answer near the top and ignores everything after the first hit. It is used for question answering and lookup-style search.

Level: intermediateTopic: Evaluation metrics

Reciprocal rank: an example

If the first correct document appears at rank 4, the reciprocal rank is 1/4 = 0.25.

Related terms

More Evaluation metrics terms

Where you learn it

Reciprocal rank 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.