class 12: communities network science: communities dr. baruch barzel

36
Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Upload: kendra-shortt

Post on 30-Mar-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Class 12: Communities

Network Science: Communities

Dr. Baruch Barzel

Page 2: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Modular Structure of Networks

)(kP

k

C

ijD

Page 3: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Is a Network Modular

Clustering implies modularity

Small Worldness tends to wipe out modularity

Functionality requires modularity

Page 4: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Is a Network Modular

Clustering implies modularity

Small Worldness tends to wipe out modularity

Functionality requires modularity

Hubs tends to wipe out modularity

Page 5: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Is a Network Modular

Clustering at the periphery only Low degree nodes typically belong to a single module

Hubs bridge between different modules

C

k

Page 6: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Is a Network Modular

Clustering at the periphery only Low degree nodes typically belong to a single module

Hubs bridge between different modules

C

k

But how do we unveil the modules

Page 7: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Modular Structure of Networks

Functional modularityNatural partition lines

Page 8: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Network Partitioning

Optimally dividing the network into a predefined number of partitions

nx

x

x

2

1

Dividing a task into sub-tasks

Page 9: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Network Partitioning

Optimally dividing the network into a predefined number of partitions

nx

x

x

2

1

Dividing a task into sub-tasks, while minimizing the transmission between tasks

Page 10: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Network Partitioning

Optimally dividing the network into a predefined number of partitions

nx

x

x

2

1

Dividing a task into sub-tasks, while minimizing the transmission between tasks

Page 11: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Network Partitioning

Minimizing the Cut:

)(2

1

jQiijAR

The index vector:

bluein is if 1

redin is if 1

i

isi

ij

ijji AssR 12

1

2

1

sLssAksRij

Tjijijii

/ 4

1

4

1

ij i

ijijiiij ksskA The Laplacian Matrix:

Otherwise

0 and

0

1

ij

i

ij Aji

jik

L

Page 12: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Laplacian Matrix

Minimizing the Cut: sLsR T /4

1

Otherwise

0 and

0

1

ij

i

ij Aji

jik

L

Consider the Eigenvector: ssL/

ssR T 4

1

Choose the Eigenvector with the minimal Eigenvalue

Page 13: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Laplacian Matrix

Minimizing the Cut: sLsR T /4

1

Consider the Eigenvector: ssL/

ssR T 4

1

Choose the Eigenvector with the minimal Eigenvalue

negative iselement if

positive iselement if

1

1

is

Page 14: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Laplacian Matrix

The matrix: ijijiij AkL

0)( iij

ijijij

jij kkAksLsL /

The trivial partitioning – put the entire network together:

ors

Page 15: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Laplacian Matrix

The matrix: ijijiij AkL

The case of isolated components

The number of Eigenvectors with λ = 0 equals the number of connected components

L/

s

Page 16: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

The Laplacian Matrix

The matrix: ijijiij AkL

The case of almost isolated components

The Eigenvectors with λ close to zero capture the partitioning

L/

s

Page 17: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

From Partitioning to Communities

The number of communities and their size should be given by the network itself.

Page 18: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Hierarchical Clustering

4123

1410

2143

3034

ijW

Edges 4 Sides Stable Equal1. Square + + + +

2. Rectangle + + + --3. Circle -- -- -- --4. Triangle + -- + +

4

Page 19: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Hierarchical Clustering

4123

1410

2143

3034

ijW

Edges 4 Sides Stable Equal1. Square + + + +

2. Rectangle + + + --3. Circle -- -- -- --4. Triangle + -- + +

4

3

Page 20: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Hierarchical Clustering

4123

1410

2143

3034

ijW

Edges 4 Sides Stable Equal1. Square + + + +

2. Rectangle + + + --3. Circle -- -- -- --4. Triangle + -- + +

4

3

2

Page 21: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Hierarchical Clustering

4123

1410

2143

3034

ijW

Edges 4 Sides Stable Equal1. Square + + + +

2. Rectangle + + + --3. Circle -- -- -- --4. Triangle + -- + +

4

3

2

1

Page 22: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Dendograms

Page 23: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Dendograms

Page 24: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Topologically Induced Weights

jiWij and between paths ofnumber the toRelated

1

0

)()(

AIAWl

l

pathst independen node ofNumber ijW

jiA ijl and between paths ofNumber

Page 25: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Betweeness

Edge Betweeness – the number of paths through an edge

Page 26: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Football and Karate Networks

Zachary’s Karate Club

College Football

Page 27: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Football and Karate Networks

Zachary’s Karate Club

College Football

Page 28: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

1is

Page 29: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

Groups of nodes with high link density will tend to have the same polarization

Sparseness of connections between groups will allow different communities to have unrelated spins

1is

Page 30: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

Groups of nodes with high link density will tend to have the same polarization

Sparseness of connections between groups will allow different communities to have unrelated spins

mmmsi ,,1, Potts

Model

Page 31: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

0T

T

mmmsi ,,1,

Page 32: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

0T

T

mmmsi ,,1,

Page 33: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

0T

T

mmmsi ,,1,

Page 34: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

0T

T

mmmsi ,,1,

Page 35: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Ising and Potts Models

ji

ssij jiJE

,

0T T

0T

T

mmmsi ,,1,

Page 36: Class 12: Communities Network Science: Communities Dr. Baruch Barzel

Link Communities

Community - A group of densely connected nodes

A group of topologically similar links

Project Presentations (5 min.)

1. Define your network (nodes, links)

2. How will you get the data

3. Estimated size of network

4. Why