liveBook · Manning

Normalized discounted cumulative gain

Normalized discounted cumulative gain is a ranking metric that discounts graded relevance by item position and normalizes the result against the ideal ranking.

How 2 Manning books explain it

Machine Learning System Design

A ranking metric that discounts relevance gains by position and normalizes them by the ideal discounted cumulative gain.

How it is used
Uses NDCG as a fast offline proxy for evaluating search rankings before relying on online outcomes.
How deep it goes
Defines NDCG through discounted gains and ideal normalization, but does not derive the position-discount formula.
Examples
Scores photo search results with human labels at 10 positions and purchase, favorite, click, or view feedback at 30 positions.
What you can do after
Evaluate search rankings using relevance scores and compare offline metrics with online outcomes.

Read how Machine Learning System Design explains normalized discounted cumulative gain →

Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI

A ranking metric that divides discounted cumulative gain by the ideal discounted cumulative gain.

How it is used
Scores annotator rankings of candidate results in information retrieval tasks.
How deep it goes
Defines a 0–1 ratio against an ideal ground-truth ranking and normalizes over shown candidates.
Examples
Uses basketball web-search and shopping queries to illustrate candidate lists that may be judged by annotators.
What you can do after
Evaluate annotator rankings against an ideal ranking for the candidates they saw.

Read how Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI explains normalized discounted cumulative gain →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.