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

Enable weights for MG similarity algorithms #3879

Conversation

jnke2016
Copy link
Contributor

This is a follow up PR to #3828 which enabled weighted for the python SG similarity algorithms.
This PR also updates the tests, docstrings and remove experimental calls

@jnke2016 jnke2016 requested a review from a team as a code owner September 26, 2023 04:57
@jnke2016
Copy link
Contributor Author

/ok to test

Comment on lines 76 to +79
input_data_path = input_combo["graph_file"]
directed = input_combo["directed"]
has_vertex_pair = input_combo["has_vertex_pair"]
G = utils.generate_cugraph_graph_from_file(input_data_path, directed=directed)
is_weighted = input_combo["is_weighted"]
Copy link
Contributor

@naimnv naimnv Sep 26, 2023

Choose a reason for hiding this comment

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

I wonder, wouldn't it be cleaner to have these column names as global variable declared at the beginning of the files?

@naimnv naimnv added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 26, 2023
Copy link
Member

@alexbarghi-nv alexbarghi-nv left a comment

Choose a reason for hiding this comment

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

👍

@alexbarghi-nv
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit a9f4297 into rapidsai:branch-23.10 Sep 26, 2023
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants