Github user xaoc3dgraph commented on the pull request: https://github.com/apache/spark/pull/8195#issuecomment-133569776 I might be wrong but I think centrality calculation produce wrong results. Example graph: ``` Vertices: A, B, C, D, E, F Edges: (A, B), (A, C), (A, D), (A, E), (A, F) ``` Calculation result is: ``` C closeness_centrality: 0.0 B closeness_centrality: 0.0 E closeness_centrality: 0.0 A closeness_centrality: 1.2 F closeness_centrality: 0.0 D closeness_centrality: 0.0 ``` result of A closeness_centrality should be 1.0
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org