Stochastic Simulations Six degrees of Kevin Bacon.

Slides:



Advertisements
Similar presentations
Performance in Decentralized Filesharing Networks Theodore Hong Freenet Project.
Advertisements

Peer-to-Peer and Social Networks Power law graphs Small world graphs.
Complex Networks: Complex Networks: Structures and Dynamics Changsong Zhou AGNLD, Institute für Physik Universität Potsdam.
Complex Networks Advanced Computer Networks: Part1.
Complex Networks Luis Miguel Varela COST meeting, Lisbon March 27 th 2013.
1 Analyzing Kleinberg’s Small-world Model Chip Martel and Van Nguyen Computer Science Department; University of California at Davis.
‘Small World’ Networks (An Introduction) Presenter : Vishal Asthana
Small-world networks.
Collective Dynamics of ‘Small World’ Networks C+ Elegans: Ilhan Savut, Spencer Telford, Melody Lim 29/10/13.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Introduction to MATLAB 7 for Engineers William J. Palm.
Information Networks Small World Networks Lecture 5.
CSE 522 – Algorithmic and Economic Aspects of the Internet Instructors: Nicole Immorlica Mohammad Mahdian.
1 Evolution of Networks Notes from Lectures of J.Mendes CNR, Pisa, Italy, December 2007 Eva Jaho Advanced Networking Research Group National and Kapodistrian.
Emergence of Scaling in Random Networks Barabasi & Albert Science, 1999 Routing map of the internet
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.
Small-World Graphs for High Performance Networking Reem Alshahrani Kent State University.
Small Worlds Presented by Geetha Akula For the Faculty of Department of Computer Science, CALSTATE LA. On 8 th June 07.
Small-World File-Sharing Communities Adriana Iamnitchi, Matei Ripeanu and Ian Foster,
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.
Stochastic Simulations Six degrees of Kevin Bacon.
Advanced Topics in Data Mining Special focus: Social Networks.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 7 May 14, 2006
Random numbers in Python Nobody knows what’s next...
Summary from Previous Lecture Real networks: –AS-level N= 12709, M=27384 (Jan 02 data) route-views.oregon-ix.net, hhtp://abroude.ripe.net/ris/rawdata –
Random Graph Models of Social Networks Paper Authors: M.E. Newman, D.J. Watts, S.H. Strogatz Presentation presented by Jessie Riposo.
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.
Graph Theory in 50 minutes. This Graph has 6 nodes (also called vertices) and 7 edges (also called links)
Section 8 – Ec1818 Jeremy Barofsky March 31 st and April 1 st, 2010.
Network properties Slides are modified from Networks: Theory and Application by Lada Adamic.
Small World Social Networks With slides from Jon Kleinberg, David Liben-Nowell, and Daniel Bilar.
Small-world networks. What is it? Everyone talks about the small world phenomenon, but truly what is it? There are three landmark papers: Stanley Milgram.
Complex Networks First Lecture TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA TexPoint fonts used in EMF. Read the.
Gennaro Cordasco - How Much Independent Should Individual Contacts be to Form a Small-World? - 19/12/2006 How Much Independent Should Individual Contacts.
3. SMALL WORLDS The Watts-Strogatz model. Watts-Strogatz, Nature 1998 Small world: the average shortest path length in a real network is small Six degrees.
Professor Yashar Ganjali Department of Computer Science University of Toronto
Neural Network of C. elegans is a Small-World Network Masroor Hossain Wednesday, February 29 th, 2012 Introduction to Complex Systems.
L – Modelling and Simulating Social Systems with MATLAB Lesson 6 – Graphs (Networks) Anders Johansson and Wenjian Yu (with S. Lozano.
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Most of contents are provided by the website Network Models TJTSD66: Advanced Topics in Social Media (Social.
Random numbers in C++ Nobody knows what’s next....
1 Friends and Neighbors on the Web Presentation for Web Information Retrieval Bruno Lepri.
March 3, 2009 Network Analysis Valerie Cardenas Nicolson Assistant Adjunct Professor Department of Radiology and Biomedical Imaging.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Introduction to MATLAB 7 for Engineers William J. Palm.
Small World Social Networks With slides from Jon Kleinberg, David Liben-Nowell, and Daniel Bilar.
Performance Evaluation Lecture 1: Complex Networks Giovanni Neglia INRIA – EPI Maestro 10 December 2012.
Stochastic Simulations Six degrees of Kevin Bacon.
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.
Class 2: Graph Theory IST402.
Information Retrieval Search Engine Technology (10) Prof. Dragomir R. Radev.
Topics In Social Computing (67810) Module 1 Introduction & The Structure of Social Networks.
Lecture 23: Structure of Networks
Structures of Networks
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Lecture 1: Complex Networks
Peer-to-Peer and Social Networks
Lecture 23: Structure of Networks
Network Science: A Short Introduction i3 Workshop
The Watts-Strogatz model
Section 8.2: Shortest path and small world effect
Small World Networks Scotty Smith February 7, 2007.
Connectivity Section 10.4.
Topology and Dynamics of Complex Networks
Lecture 23: Structure of Networks
Local Clustering Coefficient
Lecture 9: Network models CS 765: Complex Networks
Graphs G = (V, E) V are the vertices; E are the edges.
Network Science: A Short Introduction i3 Workshop
Other Random Graph Models
Presentation transcript:

Stochastic Simulations Six degrees of Kevin Bacon

Outline Announcements: –Homework II: due Today. by 5, by Discuss on Friday. –Homework III: on web Random Numbers Example--Small Worlds

Random Numbers Computers are deterministic –Therefore, computers generate “pseudo-random” numbers Matlab’s random numbers are “good” –“The uniform random number generator in MATLAB 5 uses a lagged Fibonacci generator, with a cache of 32 floating point numbers, combined with a shift register random integer generator.” – shtmlhttp:// shtml

Random functions rand(m,n) produces m-by-n matrix of uniformly distributed random numbers [0,1] randn(m,n) produces random numbers normally distributed with mean=0 and std=1 randperm(n) is a random permutation of integers [1:n] –I=randperm(n); B=A(I,:) would scramble the rows of A

Seeds Random number generators are usually recurrence equations: –r(n)=F(r(n-1)) Must provide an initial value r(0) –Matlab’s random functions are seeded at startup, but THE SEED IS THE SAME EVERY TIME! –Initialize seed with rand( 'state', sum(100*clock) ) –How would you ensure rand is always random?

It’s a Small, Small World Watts & Strogatz (1998) Nature, 393: Complicated systems can be viewed as graphs –describe how components are connected

Example: Six Degrees of Kevin Bacon Components (vertices) are actors Connections (edges) are movies Hypothesis: 6 or fewer links separate Kevin Bacon from all other actors.

Example: Kevin Bacon & Harrison Ford A Few Good Men Top Gun Witness Star Wars

Other Systems Power Grid Food Webs Nervous system of Caenorhabditis elegans Goal is to learn about these systems by studying their graphs Many of these systems are “Small Worlds”--only a few links separate any two points

Watts & Strogatz Can organize graphs on a spectrum from ordered to random How do graph properties change across this spectrum? –L=mean path length (# links between points) –C=cluster coefficient (“lumpiness”) Used a Monte-Carlo approach--created lots of graphs along spectrum and computed L and C

Watts & Strogatz Creating the graphs n=# of vertices, k=number of edges/vertex Start with a regular ring lattice and change edges at random with probability p For every p, compute stats for many graphs

Small Worlds in Matlab G=createlattice(n,k,p) –creates a lattice--represented as a sparse matrix [L,C]=latticestats(G) –computes the path length and clustering stats [L,C]=SmallWorldsEx(n,k,P,N) –Creates N graphs for every P(j) and saves the mean stats in L(j) and C(j) plotlattice(G) –Plots a lattice