ndcg {farr} | R Documentation |
A function returning NDCG-at-k metric.
ndcg(scores, response, k = 0.01)
scores |
Probability that response is true or 1. |
response |
Responses coded as logical or 0-1. |
k |
Percentage to classify as TRUE or 1. |
vector including sensitivity and precision