networkcommons.eval.get_graph_metrics

networkcommons.eval.get_graph_metrics(network, target_dict)

Get the graph metrics of a network.

Parameters:
  • network (nx.Graph, dict) – The network to get the graph metrics from. If a dictionary, will iterate over it.

  • target_dict (dict) – A dictionary containing the targets and sign of measurements.

Returns:

The graph metrics of the network.

Return type:

DataFrame