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

Possible bug in ComputeDCG(sorted_ranks) #2

Open
linzhu1967 opened this issue May 13, 2021 · 0 comments
Open

Possible bug in ComputeDCG(sorted_ranks) #2

linzhu1967 opened this issue May 13, 2021 · 0 comments

Comments

@linzhu1967
Copy link

Hi~
Thanks for sharing the code and the documentation.
When I used your code to test the Duet model, I found that the function ComputeDCG(sorted_ranks) may have a bug on the computation of DCG ( this code: dcg += ((2^rating - 1)/math.log2(pos + 2)) ).
In python, ^ means XOR symbol instead of exponent symbol.

Kind Regards,
Linzhu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant