networkcommons.eval.get_mean_degree

networkcommons.eval.get_mean_degree(network)

Get the mean degree centrality of the network.

Parameters:

network (nx.Graph) – The network to get the mean degree from.

Returns:

The mean degree of the network.

Return type:

float