Skip to content

FIX #17639 and #21207 - #6

Merged
pasaaliaslan merged 12 commits into
mainfrom
dev
Mar 6, 2022
Merged

pasaaliaslan merged 12 commits into
mainfrom
dev

Conversation

@pasaaliaslan

Copy link
Copy Markdown
Collaborator

Reference Issues/PRs

Fixes scikit-learn#17639 and scikit-learn#21207

What does this implement/fix? Explain your changes.

For scikit-learn#17639, the fix merges the ndcg_score with negative y_true values, and will fire a warning if negative values are used.
For scikit-learn#21207, the fix first calls strip_accents and then calls lower(), instead of the opposite order.

@pasaaliaslan pasaaliaslan added the bug Something isn't working label Mar 6, 2022
@pasaaliaslan pasaaliaslan self-assigned this Mar 6, 2022
@pasaaliaslan pasaaliaslan changed the title Dev FIX #17639 and #21207 Mar 6, 2022

@trinhcon trinhcon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good, we can ignore the changelog stuff cause it's just another PR # that differs

@pasaaliaslan
pasaaliaslan merged commit 30d1f36 into main Mar 6, 2022
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

Successfully merging this pull request may close these issues.

ndcg_score fails for negative scores

7 participants