Network properties Slides are modified from Networks: Theory and Application by Lada Adamic.

Slides:



Advertisements
Similar presentations
Collective Dynamics of ‘Small World’ Networks C+ Elegans: Ilhan Savut, Spencer Telford, Melody Lim 29/10/13.
Advertisements

VL Netzwerke, WS 2007/08 Edda Klipp 1 Max Planck Institute Molecular Genetics Humboldt University Berlin Theoretical Biophysics Networks in Metabolism.
Information Networks Small World Networks Lecture 5.
Advanced Topics in Data Mining Special focus: Social Networks.
CS 599: Social Media Analysis University of Southern California1 The Basics of Network Analysis Kristina Lerman University of Southern California.
1 Evolution of Networks Notes from Lectures of J.Mendes CNR, Pisa, Italy, December 2007 Eva Jaho Advanced Networking Research Group National and Kapodistrian.
Complex Networks Third Lecture TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA TexPoint fonts used in EMF. Read the.
Networks. Graphs (undirected, unweighted) has a set of vertices V has a set of undirected, unweighted edges E graph G = (V, E), where.
Network Models Social Media Mining. 2 Measures and Metrics 2 Social Media Mining Network Models Why should I use network models? In may 2011, Facebook.
Scale-free networks Péter Kómár Statistical physics seminar 07/10/2008.
Mining and Searching Massive Graphs (Networks)
Networks FIAS Summer School 6th August 2008 Complex Networks 1.
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.
Advanced Topics in Data Mining Special focus: Social Networks.
Graphs and Topology Yao Zhao. Background of Graph A graph is a pair G =(V,E) –Undirected graph and directed graph –Weighted graph and unweighted graph.
Graphs G = (V,E) V is the vertex set. Vertices are also called nodes and points. E is the edge set. Each edge connects two different vertices. Edges are.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 7 May 14, 2006
Graph: Relations There are many kinds of social relations. For example: Role-based : brother of, father of, sister of, etc. : friend of, acquaintance of,
School of Information University of Michigan SI 614 Basic network concepts and intro to Pajek Lecture 2 Instructor: Lada Adamic.
CS8803-NS Network Science Fall 2013
Network Measures Social Media Mining. 2 Measures and Metrics 2 Social Media Mining Network Measures Klout.
Social Media Mining Graph Essentials.
The Erdös-Rényi models
Information Networks Power Laws and Network Models Lecture 3.
(Social) Networks Analysis III Prof. Dr. Daning Hu Department of Informatics University of Zurich Oct 16th, 2012.
Topic 13 Network Models Credits: C. Faloutsos and J. Leskovec Tutorial
Biological Networks Lectures 6-7 : February 02, 2010 Graph Algorithms Review Global Network Properties Local Network Properties 1.
Author: M.E.J. Newman Presenter: Guoliang Liu Date:5/4/2012.
Section 8 – Ec1818 Jeremy Barofsky March 31 st and April 1 st, 2010.
Lecture 13 Graphs. Introduction to Graphs Examples of Graphs – Airline Route Map What is the fastest way to get from Pittsburgh to St Louis? What is the.
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,
Lecture 12: Network Visualization Slides are modified from Lada Adamic, Adam Perer, Ben Shneiderman, and Aleks Aris.
Social Network Analysis: A Non- Technical Introduction José Luis Molina Universitat Autònoma de Barcelona
Data Analysis in YouTube. Introduction Social network + a video sharing media – Potential environment to propagate an influence. Friendship network and.
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Graphs.
COLOR TEST COLOR TEST. Social Networks: Structure and Impact N ICOLE I MMORLICA, N ORTHWESTERN U.
School of Information Sciences University of Pittsburgh TELCOM2125: Network Science and Analysis Konstantinos Pelechrinis Spring 2013 Figures are taken.
Social Network Analysis Prof. Dr. Daning Hu Department of Informatics University of Zurich Mar 5th, 2013.
Lecture 13: Network centrality Slides are modified from Lada Adamic.
Mathematics of Networks (Cont)
Lecture 4: Mathematics of Networks CS 790g: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Slides are modified from Lada Adamic
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Network Questions: Structural 1. How many connections does the average node have? 2. Are some nodes more connected than others? 3. Is the entire network.
School of Information University of Michigan Unless otherwise noted, the content of this course material is licensed under a Creative Commons Attribution.
Most of contents are provided by the website Network Models TJTSD66: Advanced Topics in Social Media (Social.
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.
How Do “Real” Networks Look?
1 Friends and Neighbors on the Web Presentation for Web Information Retrieval Bruno Lepri.
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.
Copyright © Curt Hill Graphs Definitions and Implementations.
Informatics tools in network science
Chapter 9: Graphs.
Class 2: Graph Theory IST402.
Importance Measures on Nodes Lecture 2 Srinivasan Parthasarathy 1.
Algorithms and Computational Biology Lab, Department of Computer Science and & Information Engineering, National Taiwan University, Taiwan Network Biology.
Social Network Analysis 1. What is Network Analysis? Social network analysis is a method by which one can analyze the connections across individuals or.
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
How Do “Real” Networks Look?
Network Science: A Short Introduction i3 Workshop
The Watts-Strogatz model
How Do “Real” Networks Look?
How Do “Real” Networks Look?
Models of networks (synthetic networks or generative models): Erdős-Rényi Random model, Watts-Strogatz Small-world, Barabási-Albert Preferential attachment,
Section 8.2: Shortest path and small world effect
How Do “Real” Networks Look?
Section 8.3: Degree Distribution
Lecture 9: Network models CS 765: Complex Networks
Models of networks (synthetic networks or generative models)
Presentation transcript:

Network properties Slides are modified from Networks: Theory and Application by Lada Adamic

How do you characterize it? Outline What is a network? a bunch of nodes and edges How do you characterize it? with some basic network metrics Network models

What are networks? Networks are collections of points joined by lines. “Network” ≡ “Graph” node edge points lines vertices edges, arcs math nodes links computer science sites bonds physics actors ties, relations sociology

Network elements: edges Directed (also called arcs) A -> B A likes B, A gave a gift to B, A is B’s child Undirected A <-> B or A – B A and B like each other A and B are siblings A and B are co-authors Edge attributes weight (e.g. frequency of communication) ranking (best friend, second best friend…) type (friend, relative, co-worker) properties depending on the structure of the rest of the graph: e.g. betweenness

Directed networks girls’ school dormitory dining-table partners (Moreno, The sociometry reader, 1960) first and second choices shown 2 1 Ada Cora Louise Jean Helen Martha Alice Robin Marion Maxine Lena Hazel Hilda Frances Eva Ruth Edna Adele Jane Anna Mary Betty Ella Ellen Laura Irene

Edge weights can have positive or negative values One gene activates/ inhibits another One person trusting/ distrusting another Research challenge: How does one ‘propagate’ negative feelings in a social network? Is my enemy’s enemy my friend? Transcription regulatory network in baker’s yeast

Representing edges (who is adjacent to whom) as a matrix Adjacency matrices Representing edges (who is adjacent to whom) as a matrix Aij = 1 if node i has an edge to node j = 0 if node i does not have an edge to j Aii = 0 unless the network has self-loops Aij = Aji if the network is undirected, or if i and j share a reciprocated edge j i i i j 1 2 3 4 Example: 5 1 A =

Adjacency lists Edge list Adjacency list 2 3 2 4 3 2 3 4 4 5 5 2 5 1 Adjacency list is easier to work with if network is large sparse quickly retrieve all neighbors for a node 1: 2: 3 4 3: 2 4 4: 5 5: 1 2 2 3 1 4 5

Node network properties Nodes Node network properties from immediate connections indegree how many directed edges (arcs) are incident on a node outdegree how many directed edges (arcs) originate at a node degree (in or out) number of edges incident on a node indegree=3 outdegree=2 degree=5

Node degree from matrix values 2 Node degree from matrix values 3 1 4 1 5 Outdegree = A = example: outdegree for node 3 is 2, which we obtain by summing the number of non-zero entries in the 3rd row 1 Indegree = A = example: the indegree for node 3 is 1, which we obtain by summing the number of non-zero entries in the 3rd column

Characterizing networks: Is everything connected?

Network metrics: connected components Strongly connected components Each node within the component can be reached from every other node in the component by following directed links B F G Strongly connected components B C D E A G H F C A H D E Weakly connected components: every node can be reached from every other node by following links in either direction A B C D E F G H Weakly connected components A B C D E G H F In undirected networks one talks simply about ‘connected components’

network metrics: size of giant component if the largest component encompasses a significant fraction of the graph, it is called the giant component

How do you characterize it? Outline What is a network? a bunch of nodes and edges How do you characterize it? with some basic network metrics Network models

Several other graph metrics exist Structural Metrics Degree distribution Average path length Centrality Betweenness Closeness Graph density Clustering coefficient Several other graph metrics exist Assortativity Modularity …

degree sequence and degree distribution Degree sequence: An ordered list of the (in,out) degree of each node In-degree sequence: [2, 2, 2, 1, 1, 1, 1, 0] Out-degree sequence: [2, 2, 2, 2, 1, 1, 1, 0] (undirected) degree sequence: [3, 3, 3, 2, 2, 1, 1, 1] Degree distribution: A frequency count of the occurrence of each degree In-degree distribution: [(2,3) (1,4) (0,1)] Out-degree distribution: [(2,4) (1,3) (0,1)] (undirected) distribution: [(3,3) (2,2) (1,3)]

Structural Metrics: Degree distribution

Characterizing networks: How far apart are things?

Structural metrics: Average path length

Characterizing networks: Who is most central?

Centrality: betweenness The fraction of all directed paths between any two vertices that pass through a node paths between j and k that pass through i betweenness of vertex i all paths between j and k Normalization undirected: (N-1)*(N-2)/2 directed graph: (N-1)*(N-2) e.g.

Centrality: closeness How close the vertex is to others depends on inverse distance to other vertices Normalization

network metrics: graph density Of the connections that may exist between n nodes directed graph emax = n*(n-1) undirected graph emax = n*(n-1)/2 What fraction are present? density = e/ emax For example, out of 12 possible connections, this graph has 7, giving it a density of 7/12 = 0.583 Would this measure be useful for comparing networks of different sizes (different numbers of nodes)?

Structural Metrics: Clustering coefficient

How do you characterize it? Outline What is a network? a bunch of nodes and edges How do you characterize it? with some basic network metrics Network models

Four structural models Regular networks Random networks Small-world networks Scale-free networks

Regular networks – fully connected

Regular networks – Lattice

Regular networks – Lattice: ring world

modeling networks: random networks Nodes connected at random Number of edges incident on each node is Poisson distributed Poisson distribution

Random networks

Erdos-Renyi random graphs What happens to the size of the giant component as the density of the network increases? http://ccl.northwestern.edu/netlogo/models/run.cgi?GiantComponent.884.534

Random Networks

modeling networks: small worlds a friend of a friend is also frequently a friend but only six hops separate any two people in the world Arnold S. – thomashawk, Flickr; http://creativecommons.org/licenses/by-nc/2.0/deed.en

Duncan Watts and Steven Strogatz Small world models Duncan Watts and Steven Strogatz a few random links in an otherwise structured graph make the network a small world: the average shortest path is short regular lattice: my friend’s friend is always my friend small world: mostly structured with a few random connections random graph: all connections random Source: Watts, D.J., Strogatz, S.H.(1998) Collective dynamics of 'small-world' networks. Nature 393:440-442.

Watts Strogatz Small World Model As you rewire more and more of the links and random, what happens to the clustering coefficient and average shortest path relative to their values for the regular lattice? http://projects.si.umich.edu/netlearn/NetLogo4/SmallWorldWS.html

Small-world networks

Scale-free networks

Many real world networks contain hubs: highly connected nodes Scale-free networks Many real world networks contain hubs: highly connected nodes Usually the distribution of edges is extremely skewed many nodes with few edges number of nodes with so many edges fat tail: a few nodes with a very large number of edges number of edges no “typical” number of edges

But is it really a power-law? A power-law will appear as a straight line on a log-log plot: A deviation from a straight line could indicate a different distribution: exponential lognormal log(# nodes) log(# edges)

Scale-free networks