-
Notifications
You must be signed in to change notification settings - Fork 310
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
Define C API for eigenvector centrality #2180
Define C API for eigenvector centrality #2180
Conversation
rerun tests |
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 to me except for few nitpicking comments.
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #2180 +/- ##
================================================
- Coverage 72.41% 70.86% -1.55%
================================================
Files 157 170 +13
Lines 10496 11036 +540
================================================
+ Hits 7601 7821 +220
- Misses 2895 3215 +320
Continue to review full report at Codecov.
|
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.
Just some minor observations which need not hold up approval.
@gpucibot merge |
Define C API for eigenvector centrality (rapidsai#2180)
This PR: 1. Adds Eigenvector Centrality to the pylibcugraph and cugraph software stacks, which started from #2180 and is followed up by future PRs in order to close #2146 2. Minor improvements to pylibcugraph Katz Centrality 3. Added functionality to `test_doctests.py` so that certain docstrings can be skipped on different architecture configs (such as ktruss in CUDA 11.4) 4. Added undirected/directed versions of graph example used in C tests in `datasets` 5. Removed cugraph copy of warning wrapper from pylibcugraph and have it call the pylibcugraph version 6. Testing for both Python eigenvector centrality wrappers This PR is identical to #2243, just that the name of the branch is different Authors: - https://github.com/betochimas - Chuck Hastings (https://github.com/ChuckHastings) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: #2255
This PR defines the C API for eigenvector centrality. It is the first of a series of PRs to address #2146
It also does the following:
cugraph_pagerank_result_t
tocugraph_centrality_result_t
to allow it to be reused for all centrality algorithmsNote that this is a breaking change since it modifies the type of the pagerank result.