Evaluation.NDCG {StatRank}R Documentation

Calculates the Normalized Discounted Cumluative Gain

Description

Calculates the Normalized Discounted Cumluative Gain

Usage

Evaluation.NDCG(EstimatedRank, RelevanceLevel)

Arguments

EstimatedRank

estimated ranking

RelevanceLevel

score for the document

Value

The NDCG for this estimation and relevance level

Examples

EstimatedRank <- scramble(1:10)
RelevanceLevel <- runif(10)
Evaluation.NDCG(EstimatedRank, RelevanceLevel)

[Package StatRank version 0.0.6 Index]