Network Science: A Short Introduction i3 Workshop

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Complex Networks Luis Miguel Varela COST meeting, Lisbon March 27 th 2013.
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Graph-02.
Review Binary Search Trees Operations on Binary Search Tree
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Networks. Graphs (undirected, unweighted) has a set of vertices V has a set of undirected, unweighted edges E graph G = (V, E), where.
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
Graph & BFS.
CS 728 Lecture 4 It’s a Small World on the Web. Small World Networks It is a ‘small world’ after all –Billions of people on Earth, yet every pair separated.
Introduction to Graphs
Graph & BFS Lecture 22 COMP171 Fall Graph & BFS / Slide 2 Graphs * Extremely useful tool in modeling problems * Consist of: n Vertices n Edges D.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
CSE 321 Discrete Structures Winter 2008 Lecture 25 Graph Theory.
Network Measures Social Media Mining. 2 Measures and Metrics 2 Social Media Mining Network Measures Klout.
Graph Essentials Social Media Mining. 2 Measures and Metrics 2 Social Media Mining Graph Essentials Networks A network is a graph. – Elements of the network.
Social Media Mining Graph Essentials.
TELCOM2125: Network Science and Analysis
Presentation: Random Walk Betweenness, J. Govorčin Laboratory for Data Technologies, Faculty of Information Studies, Novo mesto – September 22, 2011 Random.
Section 8 – Ec1818 Jeremy Barofsky March 31 st and April 1 st, 2010.
Computer Science 112 Fundamentals of Programming II Introduction to Graphs.
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
Class 2: Graph theory and basic terminology Learning the language Network Science: Graph Theory 2012 Prof. Albert-László Barabási Dr. Baruch Barzel, Dr.
Social Network Analysis: A Non- Technical Introduction José Luis Molina Universitat Autònoma de Barcelona
Network properties Slides are modified from Networks: Theory and Application by Lada Adamic.
© 2006 Pearson Addison-Wesley. All rights reserved14 A-1 Chapter 14 Graphs.
Network theory David Lusseau BIOL4062/5062
Vertices and Edges Introduction to Graphs and Networks Mills College Spring 2012.
Presentation: A measure of betweenness centrality based on random walks M.E.J. Newman ELSEVIER Social Networks November 2004 A measure of betweenness centrality.
Lecture 13: Network centrality Slides are modified from Lada Adamic.
Mathematics of Networks (Cont)
Graphs. Definitions A graph is two sets. A graph is two sets. –A set of nodes or vertices V –A set of edges E Edges connect nodes. Edges connect nodes.
ITEC 2620A Introduction to Data Structures Instructor: Prof. Z. Yang Course Website: 2620a.htm Office: TEL 3049.
Basic Notions on Graphs. The House-and-Utilities Problem.
COSC 2007 Data Structures II Chapter 14 Graphs I.
Most of contents are provided by the website Graph Essentials TJTSD66: Advanced Topics in Social Media.
Slides are modified from Lada Adamic
The Structure of the Web. Getting to knowing the Web How big is the web and how do you measure it? How many people use the web? How many use search engines?
Introduction to Graph Theory
Graphs A graphs is an abstract representation of a set of objects, called vertices or nodes, where some pairs of the objects are connected by links, called.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Class 2: Graph Theory IST402. Can one walk across the seven bridges and never cross the same bridge twice? Network Science: Graph Theory THE BRIDGES OF.
Informatics tools in network science
Chapter 9: Graphs.
Class 2: Graph Theory IST402.
School of Information Sciences University of Pittsburgh TELCOM2125: Network Science and Analysis Konstantinos Pelechrinis Spring 2015.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Design and Analysis of Algorithms Introduction to graphs, representations of a graph Haidong Xue Summer 2012, at GSU.
Lecture 20. Graphs and network models 1. Recap Binary search tree is a special binary tree which is designed to make the search of elements or keys in.
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Principles of Network Analysis
Introduction to Graphs
Network analysis.
Graphs All tree structures are hierarchical. This means that each node can only have one parent node. Trees can be used to store data which has a definite.
Department of Computer Science University of York
Network Science: A Short Introduction i3 Workshop
Graph Operations And Representation
Connectivity Section 10.4.
Graph Theory By Amy C. and John M..
ITEC 2620M Introduction to Data Structures
Chapter 14 Graphs © 2006 Pearson Addison-Wesley. All rights reserved.
Local Clustering Coefficient
Graphs G = (V, E) V are the vertices; E are the edges.
GRAPHS G=<V,E> Adjacent vertices Undirected graph
Graph Operations And Representation
Network Science: A Short Introduction i3 Workshop
Chapter 9 Graph algorithms
GRAPHS.
Introduction to Graphs
Introduction to Graphs
Presentation transcript:

Network Science: A Short Introduction i3 Workshop Konstantinos Pelechrinis Summer 2014 Figures are taken from: M.E.J. Newman, “Networks: An Introduction”

The representation of networks The network consists of entities connected with each other The structure of these connections are represented through graphs A graph is represented by two sets A vertex set V of the entities participating in the network. In the rest of the slides typically, n will be the number of vertices Also called node or actor set An edge set E of the connections between vertices. In the rest of the slides typically, m will be the number of edges Also called link or tie set

Example Edges can have direction, but in this introduction we will only consider undirected edges/networks.

Edge attributes Examples Weight (e.g., frequency of contacts, bandwidth of the link in a telecommunication network etc.) Ranking (e.g., primary connection, secondary connection etc.) Type (e.g., friend edge, family edge, co-worker edge etc.) …

Edge list and the adjacency matrix If we label the nodes with IDs 1, 2, … n we can denote each edge as a pair (i,j) This is an edge list specification Good for storing and processing networks in computers, but not for mathematical development The adjacency matrix A of a simple graph is a matrix with elements Aij such that:

Example Edge list Adjacency matrix (1,2) (1,5) (2,3) (2,4) (3,4) (3,5) (3,6) Adjacency matrix

Adjacency list Easier to work if the network is 1: 2,5 2: 1,3,4 Large Sparse 1: 2,5 2: 1,3,4 3: 2,4,5,6 4: 2,3 5: 1,3 6: 3

Degree The degree ki of a vertex i in a graph is the number of edges connected to it For undirected graphs we have: And the number of edges of a graph is given by: Mean degree c of a vertex in an undirected graph is: Graphs where all nodes have the same degree are called regular (k-regular).

Example Degree of node 2 = 3

Density The maximum number of possible edges in a simple graph is: Density ρ of a graph is the fraction of these edges that are actually present:

Degree sequence and degree distribution Degree sequence is an (ordered) list of the degree of every node In our earlier network we have: [4, 3, 2, 2, 2, 1] Degree distribution is a frequency count of the occurrence of each degree It is essentially a histogram

Paths A sequence of vertices such that every consecutive pair of vertices in the sequence is connected by an edge in the network Length of a path is the number of edges traversed along the path When a path traverses the same edge e two times, e is counted twice A geodesic path (shortest path) is a path between two vertices such that no shorter path exists The length of this path is called geodesic (or shortest) distance If two nodes are not connected with any path their geodesic distance is infinite

Connected components A network for which there exists pairs of vertices that there is no path between them is called disconnected If there exists a path between any possible pair of vertices in a network the latter is called connected Component is a maximal subset of vertices of a network such that there exists at least one path from every vertex of the subgroup to any other Each node within a component can be reached from every other node in the component by following the edges

Giant component If the largest component includes a significant fraction of the network, it is called giant component

Transitivity If A is connected to B and B is connected to C, what is the probability that B is connected to C ? My friends’ friends are likely to be my friends too C ? A B

Local clustering coefficient The clustering coefficient can be defined for a single vertex i as: 1/(2*1/2)=1 2/(3*2/2)=2/3 3/(4*3/2)=1/2 2/(3*2/2)=2/3 1/(2*1/2)=1

Clustering coefficient Watts and Strogatz have suggested computing the clustering coefficient of a network as the average over all the local clustering coefficients of the vertices: