Hi I'm trying to get the centrality score from NetworkX. However, in the latest update i.e. NetworkX 2.1, the function looks like this:
nx.loseness_centrality(G, u=None, distance=None, wf_improved=True, reverse=False)
However, in NetworkX 1.9, the function had a normalize=False function:
nx.closeness_centrality(G, u=None, distance=None, normalized=True)
The documentation says that:
"The closeness centrality is normalized to (n-1)/(|G|-1) where n is the number of nodes in the connected part of graph containing the node. If the graph is not completely connected, this algorithm computes the closeness centrality for each connected part separately scaled by that parts size."
How do I un-normalize the centrality scores? Thanks!