Skip to content
Middle0 views

What is the Recall@K metric?

Practice

AI answer

Recall@K is the proportion of relevant documents that appear among the first K search results. It is typically calculated for a query as follows:

Recall@K = number of relevant results among top-K / total number of relevant documents

For example, if 10 relevant documents are known for a query and 4 are found in the top-5, then Recall@5 = 0.4. The metric evaluates search completeness at a given depth, but does not account for the ordering of results within the top-K.