yawning_titan.experiment_helpers.graph_metrics.get_assortativity_metrics#

yawning_titan.experiment_helpers.graph_metrics.get_assortativity_metrics(graph)[source]#

Get assortativity metrics for an input graph using networkx’s in-built algorithms.

Parameters:

graph – A networkx graph

Returns:

A two-tuple with the metrics