Why can two rankings with the same hits differ in NDCG?
NDCG discounts relevance gains by rank and normalizes the total against the ideal ordering.
ndcg_score in practice
Two engines retrieve the same three articles. Placing the expert’s most relevant one first usually scores higher. Keep relevance grades and cutoff fixed across systems.
中文
NDCG 为何区分同样命中的两张榜单?
NDCG 按位置折扣相关性收益,再用理想排序的收益归一化。
ndcg_score 应用实例
两个检索器都找到同三篇文章,把专家评为最相关的放首位通常得分更高。比较时用相同相关性标尺与截断位置。