This lab exercise was split into two parts.
In the first part we created the artificial topologies of Lab 1, but also imported some real topologies found on Network Data. The goal was to analyze both the artificial and the real complex topologies using the metrics from Lab 1 and some additional metrics in order to study the social structure of those networks.
Topology | File | Description |
---|---|---|
American College Football | football.gml | The file football.gml contains the network of American football games between Division IA colleges during regular season Fall 2000, as compiled by M. Girvan and M. Newman. The nodes have values that indicate to which conferences they belong. |
Les Miserables | lesmis.gml | The file lesmis.gml contains the weighted network of coappearances of characters in Victor Hugo's novel "Les Miserables". Nodes represent characters as indicated by the labels and edges connect any pair of characters that appear in the same chapter of the book. The values on the edges are the number of such coappearances. The data on coappearances were taken from D. E. Knuth, The Stanford GraphBase: A Platform for Combinatorial Computing, Addison-Wesley, Reading, MA (1993) |
Dolphin social network | dolphins.gml | The file dolphins.gml contains an undirected social network of frequent associations between 62 dolphins in a community living off Doubtful Sound, New Zealand, as compiled by Lusseau et al. (2003) |
Then, for each of the real topologies we had to find the artificial model that best simulates it.
Results:
Real Topology | Artificial Model |
---|---|
American College Football | Small World |
Les Miserables | Scale Free |
Dolphins | Small World |
In the second part of this lab we used the community detection algorithms in the table below on all of the graphs, both real and artificial. Then we compared their performances using the following metric:
Modularity - networkx.algorithms.community.quality.modularity
Community detection algorithm | Function |
---|---|
Spectral Clustering | SpectralClustering |
Newman-Girvan | girvan_newman |
Modularity Maximization | greedy_modularity_communities |