Home Knowledge Base Precision@K

Precision@K measures fraction of top-K results that are relevant — evaluating what percentage of the first K results are actually useful, a simple and intuitive ranking metric.

What Is Precision@K?

Example

Top 10 results: 7 relevant, 3 not relevant.

Why Precision@K?

Common K Values

Limitations

Precision@K vs. Other Metrics

vs. Recall@K: Precision = relevant retrieved / retrieved, Recall = relevant retrieved / total relevant. vs. NDCG: Precision@K binary, NDCG handles graded relevance and position. vs. MAP: Precision@K single cutoff, MAP averages precision at all relevant positions.

Applications: Search evaluation, recommendation evaluation, information retrieval, any ranked list evaluation.

Tools: scikit-learn, IR evaluation libraries, easy to implement.

Precision@K is the most intuitive ranking metric — by measuring what fraction of top results are relevant, it directly captures user experience and is easy to understand and communicate.

precision at kevaluation

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.