GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
← Machine Learning & Data Science / 63
medium★ EssentialGoogleMetaAmazon

Which metric do you use to evaluate a ranking system, and why?

Accuracy is meaningless for ranking, the whole point is the order. The real question behind the question is whether your relevance is graded or binary and whether one good result is enough, because that picks the metric. Then the trap: your offline NDCG can climb while online engagement falls.

Updated Aug 2026 · Grounded in real Forward Deployed Engineer interview loops and written to a senior-engineer editorial bar.

Accuracy is meaningless for ranking, the whole point is the order. The real question behind the question is whether your relevance is graded or binary and whether one good result is enough, because that picks the metric. Then the trap: your offline NDCG can climb while online engagement falls.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 559 remaining answers · ₹2,000 / $25

Every answer, concept and course, every paper breakdown, all published video lessons, hands-on FDE Lab missions, Premium PDF guides and companion files, the full practice-test bank and work-sample downloads. Referral Premium excludes guide PDFs and their companion files.

6 months · One payment · No auto-renewal

Study alongside free video lessons.

Keep practising

FEDITOR'S NOTE

The grading follow-up is 'why not just use precision@k?' The strong answer is that precision@k ignores order within the top k and ignores graded relevance, so a list with the best result at position 10 scores the same as one with it at position 1. NDCG fixes both with a position discount and graded gains. Candidates who can't say why position discounting matters are answering a classification question, not a ranking one.

DISCUSSION · 0

No comments yet — be the first to share your approach.