Hit Rate (HR)#
The share of users for whom a relevant item appears in the top-N list.
Important
✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.
What it is#
Hit Rate is the simplest top-N recommendation metric — it asks whether at least one relevant item appears in a user’s top-K list. Each user scores 1 if there’s any hit and 0 otherwise, and the metric is the average across users:
What it captures#
HR measures coverage of intent at the coarsest level — did we surface something the user wanted? — which is exactly right for feeds, “you might also like” rows, and any setting where a single good hit is a win. It is intuitive and easy to explain to stakeholders.
Its limits#
HR is binary and position-blind — it doesn’t care where in the list the hit landed or how many relevant items were found, so a hit at rank 1 and a hit at rank 10 score the same. It also rises mechanically with K, so always report the cutoff (Hit@5 vs Hit@10) and pair it with a ranking metric.
Theme: Recommender Systems · All terminology
Hint
Mind map — connected ideas
NDCG (Normalized Discounted Cumulative Gain) · Mean Average Precision (MAP) · DCG (Discounted Cumulative Gain) · Average Precision (AP) · Relevance in Recommender Systems · Recall
Hint
More in Recommender Systems
Catalog Coverage · Cosine Similarity of Item Features · Diminishing Utility · Diversity (in Recommender Systems) · Dominating in Recommender Systems · Genre Overlap · Intra-List Diversity (ILD) · Item Coverage · Jaccard index · Novelty (in Recommender Systems) · Relevance in Recommender Systems · Self-Information of Popularity · User Coverage
See also
Source article Adapted (context, re-expressed) in our own words from: Hit Rate (HR) (insightful-data-lab.com).