8000 ENH: add the parameter 'zero_division' to 'ndcg_score' by natmokval · Pull Request #30156 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

ENH: add the parameter 'zero_division' to 'ndcg_score' #30156

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

natmokval
Copy link
Contributor

Fixes #29521. See also #29048

I added the parameter zero_division to ndcg_score in order to handle the case when all true relevances are equal to zero for some samples.

Copy link
github-actions bot commented Oct 26, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: dabe5c7. Link to the linter CI: here

@adrinjalali
Copy link
Member

Tests are failing. Ping me for a review when you're done with the PR 😃

@StefanieSenger
Copy link
Contributor

You can ping me as well. :)

@adrinjalali
Copy link
Member

Note: #29048 (comment)

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

Successfully merging this pull request may close these issues.

NDCG in case of abscence of relevant items
3 participants
0