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

Adds support for jaccard_coefficient #62

Open
wants to merge 7 commits into
base: branch-25.02
Choose a base branch
from

Conversation

rlratzel
Copy link
Contributor

@rlratzel rlratzel commented Jan 9, 2025

Adds support for jaccard_coefficient to nx-cugraph.

This includes a test, but relies largely on the existing test coverage provided by NetworkX. The test included here could (should) be submitted to NetworkX though in a separate PR, since it is not covering anything unique to nx-cugraph.

A benchmark is also included, with results showing 2-4X speedup. I've seen much, much larger speedup on a different graph (large movie review bipartite graph, showing 966s for NX, 2s for nx-cugraph = ~500X), so I need to investigate further. This investigation need not prevent this PR from being merged now though.

image

@rlratzel rlratzel requested a review from eriknw January 9, 2025 17:30
@rlratzel rlratzel self-assigned this Jan 9, 2025
@rlratzel rlratzel requested a review from a team as a code owner January 9, 2025 17:30
@rlratzel rlratzel added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Jan 9, 2025
Copy link
Contributor

@nv-rliu nv-rliu left a comment

Choose a reason for hiding this comment

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

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants