Skip to main content

Hands-on 'Gephi'

Compiling and Analyzing Network Data using a Sample Infrastructure Network.

Tool Used:
Gephi 
Dataset Used: GML (Power Grid): An undirected, unweighted network representing the topology of the Western States Power Grid of the United States.
Citation: D. J. Watts and S. H. Strogatz, Nature 393, 440-442 (1998).
Original Source:

Basic Description:
? nodes
? edges
Undirected
Static
Unweighted

Summary:
An undirected, unweighted network representing the topology of the Western States Power Grid of the United States. Data compiled by D. Watts and S. Strogatz.
Name     N              E            Directed      Description
power    4941       6594     False              Power grid: An undirected, unweighted network representing the topology of the Western States Power Grid of the United States. Data compiled by D. Watts and S. Strogatz and made available on the web here. Please cite D. J. Watts and S. H. Strogatz, Nature 393, 440-442 (1998). Retrieved from Mark Newman’s website.
Notes:
A Brief Description about GML by
The University of Passau
GML (Graph Modelling Language): There are many different programs that work with graphs but almost all of them use their own file format. As a consequence, exchanging graphs between different programs is almost impossible. Simple tasks like exchange of data, externally reproducible results or a common benchmark suite are much harder than neccessary.

Therefore, we have developed a new file format for the Graphlet system: GML. GML supports attaching arbitrary information to graphs, nodes and edges, and is therefore able to emulate almost every other format.
In the following the documentation, the parser and a technical report with respect to GML:
·         gml-technical-report.pdf
Terminologies used:
Distance: The average graph-distance between all pairs of nodes. Connected nodes have graph distance 1.

Diameter: The diameter is the longest graph distance between any two nodes in the network. (i.e. How far apart are the two most distant nodes)

Betweenness Centrality:
Measures how often a node appears on shortest paths between nodes in the network.

Closeness Centrality:
The average distance from a given starting node to all other nodes in the network

Eccentricity:
The distance from a given starting node to the farthest node from it in the network

Density:
Measure how close the network is to complete. A complete graph has all possible edges and density equal to 1

HITS:
Computes two separates values from each node. The first value (called Authority) measures how valuable information stored at that node is. The second value (called Hub) measures the quality of the nodes links.

Modularity:
Community detection algorithm

PageRank:
Ranks nodes according to how often a user following links will non-randomly reach the node "page".

Connected Components:
Determines the number of connected components in the network.

Clustering Coefficient:
The clustering coefficient, along with the mean shortest path, can indicate a "small-world" effect. It indicates how nodes are embedded in their neighborhood. The Average give an overall indication of the clustering in the network.

Eigenvector Centrality:

A measure of node importance in a network based on a node's connections.
Generated Reports: 

1. Import Report


2. Overall report


3. Heat Map


Detailed Reports:
A: Network Overview:: 
1.  Average degree-distribution
(Degree Report)
Results:
Average Degree: 2.669


2.  Average weighted-degree-distribution
(Weighted Degree Report)
Results: Average Weighted Degree: 2.669

3.  
Network Diameter
(Graph Distance Report)

Parameters:

Network Interpretation: undirected

Results:

Diameter: 46
Radius: 23
Average Path length: 18.989185424445708
Number of shortest paths: 24408540

Algorithm: Ulrik Brandes, A Faster Algorithm for Betweenness Centrality, in Journal of Mathematical Sociology 25(2):163-177, (2001)



4. 
Graph Density
Graph Density Report

Parameters:

Network Interpretation: undirected

Results:

Density: 0.001

5.
 HITS
HITS Metric Report

Parameters:

Ε = 1.0E-4

Algorithm: Jon M. Kleinberg, Authoritative Sources in a Hyperlinked Environment, in Journal of the ACM 46 (5): 604–632 (1999)

Results: 



6. Modularity
Modularity Report

Parameters:

Randomize: On
Use edge weights: On
Resolution: 1.0

Results:

Modularity: 0.932
Modularity with resolution: 0.932
Number of Communities: 38

Algorithm:

Vincent D Blondel, Jean-Loup Guillaume, Renaud Lambiotte, Etienne Lefebvre, Fast unfolding of communities in large networks, in Journal of Statistical Mechanics: Theory and Experiment 2008 (10), P1000

Resolution:

R. Lambiotte, J.-C. Delvenne, M. Barahona Laplacian Dynamics and Multiscale Modular Structure in Networks 2009



7. PageRank
PageRank Report

Parameters:
Epsilon = 0.001
Probability = 0.85

Algorithm:

Sergey Brin, Lawrence Page, The Anatomy of a Large-Scale Hypertextual Web Search Engine, in Proceedings of the seventh International Conference on the World Wide Web (WWW1998):107-117

Results:


8. Connected Components
    Connected Components Report

Parameters:

Network Interpretation: undirected

Results:

Number of Weakly Connected Components: 1

Algorithm:

Robert Tarjan, Depth-First Search and Linear Graph Algorithms, in SIAM Journal on Computing 1 (2): 146–160 (1972)


B: Node Overview::

1.     Average Clustering Coefficient
Clustering Coefficient Metric Report

Parameters:

Network Interpretation: undirected

Results:
Average Clustering Coefficient: 0.107
Total triangles: 651
The Average Clustering Coefficient is the mean value of individual coefficients.
Algorithm: Matthieu Latapy, Main-memory Triangle Computations for Very Large (Sparse (Power-Law)) Graphs, in Theoretical Computer Science (TCS) 407 (1-3), pages 458-473, 2008

2. Eigenvector Centrality
Eigenvector Centrality Report

Parameters:

Network Interpretation: undirected
Number of iterations: 100
Sum change: 0.6473580145499725
Results:

C: Edge Overview::

1. Average Path Length
Graph Distance Report
Parameters:
Network Interpretation: undirected

Results:
Diameter: 46
Radius: 23
Average Path length: 18.989185424445708
Number of shortest paths: 24408540

Algorithm:
Ulrik Brandes, A Faster Algorithm for Betweenness Centrality, in Journal of Mathematical Sociology 25(2):163-177, (2001)





Download This Report
Download/View Data Table (Power Nodes)

Popular posts from this blog

The NetLego Experiment

Model Taken for Experiment: Virus on a Network ( NetLogo Models Library : Sample Models/Networks) Stonedahl, F. and Wilensky, U. (2008).  NetLogo Virus on a Network model.  http://ccl.northwestern.edu/netlogo/models/VirusonaNetwork.  Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. §   Tool Used:  NetLogo 5.2.1 (NetLego: * Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.) Brief Description About The Model: This model demonstrates the spread of a virus through a network.  Although the model is somewhat abstract, one interpretation is that each node represents a computer, and we are modeling the progress of a computer virus (or worm) through this network.  Each node may be in one of three states:  susceptible, infected, or resistant.  In the academic literature such a model is sometimes referred to as an SIR

Installing and configuring VMWare to run Devstack on Ubuntu 14.04

Let's go step by step: Install VMWare Configure VMWare Install Devstack 1. Installing VMware-Player-6.0.2-1744117.i386.bundle on Ubuntu 14.04 Get the Bundle from here: https://softwareupdate.vmware.com/cds/vmw-desktop/player/6.0.2/1744117/linux/core/ Download VMware Player in your home folder. You'll have to register before downloading (or search for some alternate download link).  Note: if you're using Google Chrome, the downloaded file will have ".txt" extension - rename the extension to ".bundle".   Now let's install the required dependencies and run the downloaded VMware .bundle file:  Terminal:~$     sudo apt-get install build-essential linux-headers-`uname -r` 32 Bit: chmod +x VMware-Player-6.0.2-1744117.i386.bundle sudo ./VMware-Player-6.0.2-1744117.i386.bundle 64 Bit: chmod +x VMware-Player-6.0.2-1744117.x86_64.bundle sudo ./VMware-Player-6.0.2-1744117.x86_64.bundle The filename in the commands above may be different, d