Skip to content
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

Add property setters for class HDBSCAN #657

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

divyegala
Copy link
Contributor

This will enable interoperability between https://github.com/rapidsai/cuml GPU HDBSCAN implementation and allow us to transfer properties from the GPU model to the CPU model, letting a user train using GPU and predict using CPU.

@lmcinnes
Copy link
Collaborator

Interoperability is definitely worthwhile. Thanks for this.

@lmcinnes lmcinnes merged commit 4cf36ec into scikit-learn-contrib:master Oct 11, 2024
1 check passed
@divyegala
Copy link
Contributor Author

@lmcinnes could you please cut a release with this feature commit included?

rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Oct 17, 2024
Until now, we supported all combinations of GPU/CPU interoperability except the one mentioned in the title. This was because the CPU HDBSCAN package was missing attribute setters. With scikit-learn-contrib/hdbscan#657, attribute setters are now available which allow us to transfer GPU trained attributes to the CPU model. This feature is available as part of `hdbscan=0.8.39`

Authors:
  - Divye Gala (https://github.com/divyegala)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)
  - Bradley Dice (https://github.com/bdice)
  - Dante Gama Dessavre (https://github.com/dantegd)
  - William Hicks (https://github.com/wphicks)

URL: #6108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants