eval_nDCG {rrecsys} | R Documentation |
Normalized Discounted Cumulative Gain
Description
Metric for information retrival where positions are discounted logarithmically.
Usage
eval_nDCG(recommendedIDX, testSetIDX)
Arguments
recommendedIDX |
indices of the recommended items. Object of class |
testSetIDX |
indices of the items in the test set. Object of class |
Details
nDCG is computed as the ratio between Discounted Cumulative Gain(DCG) and idealized Discounted Cumulative Gain(IDCG):
References
Asela Gunawardana, Guy Shani, Evaluating Recommender Systems.
[Package rrecsys version 0.9.7.3.1 Index]