3.2 Detecting Communities in Social Networks
3.2 Detecting Communities in Social Networks
With transpose
t 0 0 0
A = 0 0 0
1 1 0
Assume the initial hub weight vector is :
1
u = 1
1
Ans. :
We compute the authority weight vector by :
t
0 0 0 1 0
v = A u = 0 0 01 = 0
1 1 0 1 2
Then, the updated hub weight is :
0 0 1 0 2
u = Av = 0 0 10 = 2
0 0 0 2 0
This already corresponds to our intuition that node 3 is the most authoritative, since it is the
only one with incoming edges, and that nodes 1 and 2 are equally important hubs. If we repeat
the process further, we will only obtain scalar multiples of the vectors v and u computed at
step 1. So the relative weights of the nodes remain the same.
Highly similar vertices are connected in the lower part of the dendrogram. Subtrees
obtained by cutting the dendrogram with horizontal line correspond to communities.
Communities of different granularity will be obtained by changing the position of the
horizontal line.
Fig. 3.4.1 shows a small network with community structure. In this case there are three
communities, denoted by the dashed circles, which have dense internal links but between
which there are only a lower density of external links.
i=1
Where eii = Probability edge is in module i
2
ai = Probability a random edge would fall into module i
Another View of Modularity
Modularity measures the strength of a community partition by taking into account the
degree distribution. A larger value indicates a good community structure
One advantage of modularity is that it can be computed using only connectivity of the
network, in the absence of any node labels or other information. However, this property can
also be considered a weakness because modularity is unable to incorporate metadata (e.g.
node labels) even if it is available.
Modularity measures internal and not external connectivity, but it does so with reference to
a randomized null model.
The modularity can be either positive or negative. Positive values indicate the possible
presence of community structure