Repository navigation
FIX #17639 and #21207 - #6
Merged
Merged
Conversation
…ore" This reverts commit fc3bb3f.
…m/trinhcon/scikit-learn into fix/CountVectorizerUpperCaseIssue
Fix: DeprecationWarning for negative y_true values in ndcg_score Succesfully met all tests and modified changelog accordingly
FIX CountVectorizer Upper Case Issue on Unicode Characters
pasaaliaslan
requested review from
VKo232,
ciaran-h,
jwoodger,
lialber2 and
trinhcon
March 6, 2022 21:09
lialber2
approved these changes
Mar 6, 2022
ciaran-h
approved these changes
Mar 6, 2022
jwoodger
approved these changes
Mar 6, 2022
trinhcon
approved these changes
Mar 6, 2022
trinhcon
left a comment
Owner
There was a problem hiding this comment.
Everything looks good, we can ignore the changelog stuff cause it's just another PR # that differs
VKo232
approved these changes
Mar 6, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.