Difference between revisions of "Discounted cumulative gain"

From RecSysWiki
Jump to navigation Jump to search
(link fix)
Line 8: Line 8:
 
== External links ==
 
== External links ==
 
* [[Wikipedia: Discounted cumulative gain]]
 
* [[Wikipedia: Discounted cumulative gain]]
* [http://github.com/zenogantner/MyMediaLite/blob/master/src/MyMediaLite/Eval/ItemPredictionEval.cs C# implementation of DCG, IDCG, and nDCG] (part of the [[MyMediaLite]] library)
+
* [http://github.com/zenogantner/MyMediaLite/blob/master/src/MyMediaLite/Eval/Items.cs C# implementation of DCG, IDCG, and nDCG] (part of the [[MyMediaLite]] library)
* [http://www.cofirank.org/ CofiRank] contains an implementation of an algorithm that optimizes NDCG.
+
* [http://www.cofirank.org/ CofiRank] contains an implementation of an algorithm that optimizes NDCG (for ratings).
  
 
[[Category:Evaluation measure]]
 
[[Category:Evaluation measure]]

Revision as of 10:49, 10 August 2011

Discounted Cumulative Gain (DCG) is a measure for ranking quality and measures the usefulness (gain) of an item based on its relevance and position in the provided list. For comparing different lists of recommendations with various lengths, normalized Discounted Cumulative Gain (nDCG/NDCG) is used. It is computed by dividing the DCG by the Ideal Discounted Cumulative Gain or IDCG. The higher the nDCG, the better ranked list.

Literature

External links