-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH Extends outlier encoding scheme to HDBSCAN.dbscan_clustering
#24698
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
ENH Extends outlier encoding scheme to HDBSCAN.dbscan_clustering
#24698
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.
Thank you for the 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.
Otherwise LGTM
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
@jjerphan @glemaitre you may be interested in reviewing this |
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 LGTM. Thank you, @Micky774.
I just have a few comments.
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Since @thomasjpfan commented recently, I let it merge if this now LGTH. |
…cikit-learn#24698) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Reference Issues/PRs
Towards #24686
What does this implement/fix? Explain your changes.
Updates the
HDBSCAN.dbscan_clustering
method to conform to new outlier encoding strategy wherein noise,np.inf
andnp.nan
samples are labelled with distinct negative labels. Updates documentation to partially clarify this encoding as well.Any other comments?