Definition

Discounted cumulative gain (DCG) is a measure of ranking quality in information retrieval.

where is the graded relevance of the result at position .

Normalized DCG

DCG is often normalized so that it is comparable across queries, giving Normalized DCG (NDCG). NDCG is DCG normalized by the maximum possible DCG of the result set.