Quick and Easy Application of Network Graph Analysis: Measure Connectivity Between Countries by Air Traffic
Towards AI
JUNE 3, 2024
The Louvain algorithm ([link] is useful in this case to correctly identify clusters that correlate to the continents of the countries, with some exceptions that can be explained by looking at the flight routes. deg_cent = nx.degree_centrality(graph)cent_array = np.fromiter(deg_cent.values(), float)pd.DataFrame(pd.Series(deg_cent) ).sort_values(0,
Let's personalize your content