-
Notifications
You must be signed in to change notification settings - Fork 539
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
HDBSCAN and KMeans API improvements for improving CPU interoperability #6181
HDBSCAN and KMeans API improvements for improving CPU interoperability #6181
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
DOC comment explaining behavior
self._gen_min_span_tree = \ | ||
GlobalSettings().accelerator_active or value |
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.
In general we should not set attributes to values that are different from the constructor argument.
I tried to work out why doing this increases compatibility, but couldn't the default of gen_min_span_tree
in HDBSCAN is also False
. What was the thinking for making this default on when the accelerator is enabled?
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.
Over-zealousness of wanting the mst to be available always when I was testing locally, forgot that the original hdbscan package has the same gen_min_span_tree parameter, so I removed this logic :)
/merge |
No description provided.