You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revisit the algorithm and examine what it is doing in the case where the graph is undirected, weighted, and not fully connected.
Steps to Reproduce
Attached is the file of the graph thats producing perceived incorrect results.ClosenessGraph.csv
Create the above graph in the Gephi application
Run Network Diameter with: Directed selected and Normalize Centralities in [0,1] set to true
Use Data Laboratory to inspect closeness column
Context
Trying to verify results for the algorithms that I am building for a client project. This feature works in the other case combinations of: directed, undirected, weighted, unweighted, fully connected, not fully connected but fails in the above scenario.
Your Environment
I am using Gephi application on Windows 11
Version used: Gephi 0.10.1
Operating System: Windows 11.0
The text was updated successfully, but these errors were encountered:
I believe the results of closeness centrality produces incorrect results in the undirected, weighted, not fully connected graph case.
I can verify results from my algorithm with the networkX library used in python.
The graph and python code:
Expected Behavior
Closeness Centrality produces these values:
{0: 0.46153846153846156, 1: 0.6, 2: 0.42857142857142855, 3: 0.4, 4: 0.5454545454545454, 5: 0.42857142857142855, 6: 0.5454545454545454, 7: 0.2222222222222222, 8: 0.3333333333333333, 9: 0.2222222222222222, 10: 0.0}
Current Behavior
Gephi produces these values: {0: 0.6, 1: 0.75, 2: 0.75, 3: 0.75, 4: 0.857143, 5: 0.545455, 6: 0.75, 7: 0.6667, 8: 1.0, 9: 0.6667, 10: 0.0}
Possible Solution
Revisit the algorithm and examine what it is doing in the case where the graph is undirected, weighted, and not fully connected.
Steps to Reproduce
Attached is the file of the graph thats producing perceived incorrect results.ClosenessGraph.csv
Context
Trying to verify results for the algorithms that I am building for a client project. This feature works in the other case combinations of: directed, undirected, weighted, unweighted, fully connected, not fully connected but fails in the above scenario.
Your Environment
I am using Gephi application on Windows 11
The text was updated successfully, but these errors were encountered: