Evaluation.AveragePrecision {StatRank} | R Documentation |
Calculates the Average Precision
Description
Calculates the Average Precision
Usage
Evaluation.AveragePrecision(EstimatedRank, RelevanceLevel)
Arguments
EstimatedRank |
estimated ranking |
RelevanceLevel |
score for the document |
Value
The AP for this estimation and relevance level
Examples
EstimatedRank <- scramble(1:10)
RelevanceLevel <- runif(10)
Evaluation.AveragePrecision(EstimatedRank, RelevanceLevel)
[Package StatRank version 0.0.6 Index]