-
Notifications
You must be signed in to change notification settings - Fork 304
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
Nx compatibility based on making Graph subclass and calling Cugraph algos #2099
Nx compatibility based on making Graph subclass and calling Cugraph algos #2099
Conversation
…4-init-compat-code
…4-init-compat-code
…4-init-compat-code
…4-init-compat-code
…4-init-compat-code
…4-init-compat-code
…4-init-compat-code
…4-init-compat-code
…nce lower value was causing intermittent fails.
python/cugraph/cugraph/experimental/compat/nx/algorithms/link_analysis/pagerank_alg.py
Outdated
Show resolved
Hide resolved
python/cugraph/cugraph/experimental/compat/nx/algorithms/link_analysis/pagerank_alg.py
Outdated
Show resolved
Hide resolved
python/cugraph/cugraph/experimental/compat/nx/algorithms/link_analysis/pagerank_alg.py
Outdated
Show resolved
Hide resolved
python/cugraph/cugraph/experimental/compat/nx/algorithms/link_analysis/pagerank_alg.py
Outdated
Show resolved
Hide resolved
python/cugraph/cugraph/experimental/compat/nx/algorithms/link_analysis/pagerank_alg.py
Outdated
Show resolved
Hide resolved
python/cugraph/cugraph/experimental/compat/nx/algorithms/link_analysis/pagerank_alg.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I had just one minor suggestion.
|
||
|
||
@pytest.fixture(scope="module", params=fixture_params) | ||
def input_combo(request): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixture isn't used by any tests so you could just combine it with input_expected_output()
@gpucibot merge |
Code to inherit all of networkx graph then call cugraph pagerank with just an import change.
This was originally going to do bfs first but pargerank was considered a more useful first algorithm.