Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDCG@10 > 1 #71

Closed
agazzarini opened this issue Jan 15, 2019 · 1 comment
Closed

NDCG@10 > 1 #71

agazzarini opened this issue Jan 15, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@agazzarini
Copy link
Member

The NDCG value should be always between 0 and 1; sometimes happens that it is bigger than 1, like in the attached screenshot.

screen shot 2019-01-15 at 19 55 24

The only thing I see is that the rating files, in that case, is declaring more than 10 relevant documents, as it follows:

"relevant_documents": {
   "3": ["193"],
   "1": ["13475", "54138", "152", "154", "157", "168","200","201","199","172","174"]
}
@agazzarini agazzarini added the bug Something isn't working label Jan 15, 2019
@agazzarini agazzarini self-assigned this Jan 15, 2019
agazzarini added a commit that referenced this issue Jan 16, 2019
@agazzarini
Copy link
Member Author

Fixed, problem was in the "ideal" DCG calculaton.

screen shot 2019-01-16 at 17 26 59

agazzarini added a commit that referenced this issue Jan 16, 2019
agazzarini added a commit that referenced this issue Jan 17, 2019
@agazzarini agazzarini added this to the 1.1 milestone Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant