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

added a passthrough for storing transposed #2799

Merged
merged 6 commits into from
Oct 14, 2022
Merged

added a passthrough for storing transposed #2799

merged 6 commits into from
Oct 14, 2022

Conversation

BradReesWork
Copy link
Member

@BradReesWork BradReesWork commented Oct 12, 2022

Both PageRank and Katz have better performance is the graph is stored transposed. However whne the input is a NetworkX graph, there was no option to specify to store transposed. Added a argument to nx_factory to specify the store_transposed flag.
Updated Pagerank and Katz to specify the transpose when converting from Nx

Closes #2792

@BradReesWork BradReesWork requested a review from a team as a code owner October 12, 2022 18:53
@BradReesWork BradReesWork added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 13, 2022
@BradReesWork BradReesWork added this to the 22.12 milestone Oct 13, 2022
@BradReesWork BradReesWork marked this pull request as draft October 14, 2022 13:48
@BradReesWork BradReesWork marked this pull request as ready for review October 14, 2022 14:38
Copy link
Contributor

@acostadon acostadon left a comment

Choose a reason for hiding this comment

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

the store_transposed warning messages relate to issue #2806
The warning message suggests that transposing the graph is optional for efficiency but in at least my experience it prevented the algorithm from running.

The changes look good to me just wondering if the warnings match with the behavior.

@BradReesWork
Copy link
Member Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 6dc7dda into rapidsai:branch-22.12 Oct 14, 2022
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.

[FEA] conversion from Nx Graph needs to include the store_transposed flag
3 participants