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

Expose new all-pairs Similarity algorithms #4502

Merged

Conversation

jnke2016
Copy link
Contributor

A variation of the Similarity algorithms leveraging of all-pairs between vertices is available in the C and C++ API. It also enable the retrieval of the top k vertices.

This PR:

  • Exposes the new all-pairs Similarity algorithm to the PLC and python API
  • Add SG and MG python tests
  • Add docstrings with examples

closes #4470

@jnke2016 jnke2016 requested a review from a team as a code owner July 3, 2024 00:40
Copy link
Contributor

@seunghwak seunghwak left a comment

Choose a reason for hiding this comment

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

Approving the C part.

@ChuckHastings ChuckHastings added this to the 24.08 milestone Jul 9, 2024
@ChuckHastings ChuckHastings added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 9, 2024
Copy link
Contributor

@rlratzel rlratzel left a comment

Choose a reason for hiding this comment

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

Thanks, Joseph! I didn't see any issues with the implementations but I have some comments about the docstrings.

Also, moving forward, we should probably have examples in the docstrings for each one. It would also be helpful if the examples showed at least some of the results so users can see what to expect.

@ChuckHastings
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit 8f7fec9 into rapidsai:branch-24.08 Jul 31, 2024
131 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake cuGraph improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose new all-pairs Similarity algorithms to PLC
5 participants