Title: Degree Centrality Calculation Differs From Networkx · Issue #96 · python-graphblas/graphblas-algorithms · GitHub
Open Graph Title: Degree Centrality Calculation Differs From Networkx · Issue #96 · python-graphblas/graphblas-algorithms
X Title: Degree Centrality Calculation Differs From Networkx · Issue #96 · python-graphblas/graphblas-algorithms
Description: A few days ago a user posted an issue describing calculation's from NetworkX not matching against Graphblas's implementation on SO. Thought i'd pass on the details along as another kind gent has described where he believes the issue may ...
Open Graph Description: A few days ago a user posted an issue describing calculation's from NetworkX not matching against Graphblas's implementation on SO. Thought i'd pass on the details along as another kind gent has de...
X Description: A few days ago a user posted an issue describing calculation's from NetworkX not matching against Graphblas's implementation on SO. Thought i'd pass on the details along as another kind...
Opengraph URL: https://github.com/python-graphblas/graphblas-algorithms/issues/96
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Degree Centrality Calculation Differs From Networkx","articleBody":"A few days ago a user posted an issue describing calculation's from NetworkX not matching against Graphblas's implementation on SO. Thought i'd pass on the details along as another kind gent has described where he believes the issue may be and I'm unable to verify if they're on the right track.\r\n\r\n\r\nOriginal post: https://stackoverflow.com/questions/78383991/why-does-graphblas-return-different-results-as-networkx/78402677#78402677\r\n\r\n```python\r\nimport networkx as nx\r\nimport graphblas_algorithms as ga\r\n\r\nG = nx.DiGraph([(0, 1), (0, 2), (0, 3), (1, 2), (1, 3)])\r\nnx.in_degree_centrality(G)\r\n{0: 0.0, 1: 0.3333333333333333, 2: 0.6666666666666666, 3: 0.6666666666666666}\r\n\r\nGG = ga.Graph.from_networkx(G)\r\nga.in_degree_centrality(GG)\r\n0 1 2 3\r\n1.0 0.666667 \r\n```","author":{"url":"https://github.com/davidsilveiro","@type":"Person","name":"davidsilveiro"},"datePublished":"2024-04-30T21:02:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/96/graphblas-algorithms/issues/96"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dbe43ad4-c676-1d39-5ff6-52c4a7ebcacd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DAE:12A110:A40249:DC1EF5:698E40E5 |
| html-safe-nonce | 90834cedf18d50a5b862da91c96afbd8ea9f3a44d70abffe983da45d6371e6c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REFFOjEyQTExMDpBNDAyNDk6REMxRUY1OjY5OEU0MEU1IiwidmlzaXRvcl9pZCI6IjgyOTIxNDQ5NzMzMzMwMjA5MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c82501affb1a798c0c49bbc8f5850016d68fbb77563e4cad6a2e84fb4be0695a |
| hovercard-subject-tag | issue:2272445140 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-graphblas/graphblas-algorithms/96/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d0d1da66f934fecbbcdf128ddf0e374031ad739d6dbae5cc2dc2501535959d5/python-graphblas/graphblas-algorithms/issues/96 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d0d1da66f934fecbbcdf128ddf0e374031ad739d6dbae5cc2dc2501535959d5/python-graphblas/graphblas-algorithms/issues/96 |
| og:image:alt | A few days ago a user posted an issue describing calculation's from NetworkX not matching against Graphblas's implementation on SO. Thought i'd pass on the details along as another kind gent has de... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidsilveiro |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-graphblas/graphblas-algorithms git https://github.com/python-graphblas/graphblas-algorithms.git |
| octolytics-dimension-user_id | 103965858 |
| octolytics-dimension-user_login | python-graphblas |
| octolytics-dimension-repository_id | 476154113 |
| octolytics-dimension-repository_nwo | python-graphblas/graphblas-algorithms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 476154113 |
| octolytics-dimension-repository_network_root_nwo | python-graphblas/graphblas-algorithms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa1fa9100f85cd8b602c63c7e337f9151e70024f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width