-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
FIX HDBSCAN allows all pairwise metrics when algorithm="brute"/"auto" #28664
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
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.
Hi @myenugula , I think we can also include other valid pairwise metrics.
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.
The fix looks good. Just a few nitpicks
@jeremiedbb thank you for the review. I updated the PR accordingly |
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 moved the changelog entry back into v1.5.rst because in the end we decided that 1.4.2 would only be about numpy 2 support. Sorry for the misleading request.
LGTM. Thanks @myenugula
Which sklearn version should I install to have this update? The dev one? |
It will be available in the upcoming 1.5.0 ( very soon :) ) |
Reference Issues/PRs
Fixes #28631
What does this implement/fix? Explain your changes.
It enables
HDBSCAN
to use "cosine" metric with "brute" or "auto" algorithms, enhancing clustering flexibility.