Your Turn

Network analysis is extremely contagious. Once you learn it, you start seeing networks everywhere, even in Shakespeare.[34] Thinking in terms of networks, centralities, and communities adds another layer of sophistication to your data analysis skills, so don’t hesitate to strengthen them by practicing.

Centrality Correlations*

Download a social network graph of select Epinions.com users from the Stanford Large Network Dataset Collection (prepared by J. Leskovec and A. Krevl),[35] and extract the tenth largest community. Write a program that calculates and displays pairwise correlations between all network centrality measures mentioned in this chapter (you can also add a clustering coefficient for more fun). I suggest that you store ...

Get Data Science Essentials in Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.