Modularity (networks)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Nog33 (talk | contribs) at 16:00, 11 July 2008 (​Created page with ''''Modularity''' is a benefit function used in the analysis of networks such as computer networks or social networks. It quantifies the qual...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Modularity is a benefit function used in the analysis of networks such as computer networks or social networks. It quantifies the quality of a division of a network into modules or communities. Good divisions, which have high values of the modularity, are those in which there are dense internal connections between the nodes within modules but only sparse connections between different modules. The most common use of the modularity is as the basis for methods of detecting community structure in networks.

Definition

Consider a network composed of n nodes or vertices connected by m links or edges and let Aij be and element of the adjacency matrix of the network, which gives the number of edges between vertices i and j. And suppose we are given a candidate division of the nodes into some number of groups. The modularity is defined to be the fraction of the edges that fall within groups minus the expected such fraction if edges are distributed at random. In the most common version of the concept, the randomization of the edges is done so as to preserve the degree of each node. In this case, the expected number of edges falling between two nodes i and j following randomization is ki kj /2m, and hence the actual minus expected number of edges between the same two nodes is Aijki kj /2m. Summing over all pairs of nodes in the same group, the modularity, denoted Q, is then defined as

where δ(ci,cj) is the Kronecker delta symbol.