quepid
quepid copied to clipboard
nDCG computation is incorrect.
Describe the bug When computing nDCG, IDCG, the ideal DCG value, is to be computed on the full set of sorted relevance judgments, not the top K. Computing on top K inflates the nDCG value. To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior The score computes the correct value. Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.