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

[REVIEW] Provide access to cuml.DBSCAN core samples #2499

Merged
merged 28 commits into from
Jul 14, 2020

Conversation

mdemoret-nv
Copy link
Contributor

Closes #2311

Would like feedback on Python DBSCAN class constructor argument calc_core_sample_indices that I added. This option allows users who won't ever use core_sample_indices_ to avoid any additional computation cost. Defaults to True to match scikit-learn.

Also, the C API functions cumlSpDbscanFit and cumlDpDbscanFit in cpp/src/dbscan/dbscan_api.h signatures were changed to account for the new core_sample_indices array without needing 2 additional functions with slightly different names. Users can easily pass NULL for core_sample_indices but it would be a breaking change.

@mdemoret-nv mdemoret-nv requested review from a team as code owners June 30, 2020 20:56
@GPUtester
Copy link
Contributor

Please update the changelog in order to start CI tests.

View the gpuCI docs here.

Copy link
Member

@teju85 teju85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. Just one minor comment.

Also tagging @MatthiasKohl in case he wants to look at this.

cpp/include/cuml/cluster/dbscan.hpp Show resolved Hide resolved
@mdemoret-nv mdemoret-nv changed the title [WIP] Provide access to cuml.DBSCAN core samples [REVIEW] Provide access to cuml.DBSCAN core samples Jul 2, 2020
@dantegd dantegd added the 4 - Waiting on Reviewer Waiting for reviewer to review or respond label Jul 2, 2020
Copy link
Member

@teju85 teju85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM.

@cjnolet cjnolet added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 4 - Waiting on Reviewer Waiting for reviewer to review or respond labels Jul 8, 2020
@cjnolet cjnolet added 3 - Ready for Review Ready for review by team and removed 5 - Ready to Merge Testing and reviews complete, ready to merge labels Jul 8, 2020
@dantegd
Copy link
Member

dantegd commented Jul 11, 2020

rerun tests

Copy link
Member

@dantegd dantegd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes on the Python side lgtm

@dantegd dantegd merged commit 9bb46fd into rapidsai:branch-0.15 Jul 14, 2020
@mdemoret-nv mdemoret-nv deleted the fea-dbscan-core-samples branch October 15, 2020 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Provide access to cuml.DBSCAN core samples
6 participants