yawning_titan.experiment_helpers.graph_metrics.get_func_summary_statistics#
- yawning_titan.experiment_helpers.graph_metrics.get_func_summary_statistics(func)[source]#
Generate a list of summary statistics based on the output of a networkx in-build algorithm.
- Parameters:
func – A networkx algorithm function
- Returns:
Arithmetic Mean
Geometric Mean
Harmonic Mean
Standard Deviation
Variance
Median
- Return type:
A list containing
Example
> generate_summary_statistics(nx.degree_centrality(graph)) > (3.3095238095238098, 2.5333333333333337, 2.9015675801088014, 1.9824913893491538, 2.620181405895692, 3.0)