-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
FIX Update pairwise distance function argument names #26351
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
FIX Update pairwise distance function argument names #26351
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I am +0 regarding this change, but if we agreed on those names at a point, let us just use them.
class_membership, | ||
unique_classes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I had the chance to rename these, I'll go with:
class_membership
->y_labels
: Directly connects this parameter withy
unique_classes
->labels
: This is consistent with thelabels
kwargs in themetrics
module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great suggestion. I do much prefer those names. @jjerphan I wonder what you think regarding these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This indeed looks better (I trust you for coming up with the best, appropriate names).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small heads-up, @Micky774. Is there something missing for this PR? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure looks real.
Dismissing review due to failure and recent changes
@jjerphan @thomasjpfan CI error fixed, new variable names adopted. Pinging for review whenever you have time :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with the new names. LGTM
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Updates arguments to conform to the names originally decided in #24076
Any other comments?
cc: @jjerphan @ogrisel