pytrec_eval icon indicating copy to clipboard operation
pytrec_eval copied to clipboard

How to handle duplicate document IDs?

Open mrdrozdov opened this issue 9 months ago • 1 comments

What if I am predicting a ranked list with the same document ID multiple times in different positions. How can I evaluate nDCG for this using pytrec_eval, given that scores are represented as dictionaries?

mrdrozdov avatar May 24 '24 21:05 mrdrozdov