powered by
Evaluation.AveragePrecision(EstimatedRank, RelevanceLevel)
EstimatedRank <- scramble(1:10) RelevanceLevel <- runif(10) Evaluation.AveragePrecision(EstimatedRank, RelevanceLevel)
Run the code above in your browser using DataLab