pytrec_eval
pytrec_eval copied to clipboard
How to handle duplicate document IDs?
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?