The Louvain Method for Community Detection

Data Skeptic

Episode | Podcast

Date: Fri, 12 Oct 2018 15:22:30 +0000

<p>Without getting into definitions, we have an intuitive sense of what a "community" is. The Louvain Method for Community Detection is one of the best known mathematical techniques designed to detect communities.</p> <p>This method requires typical graph data in which people are nodes and edges are their connections. It's easy to imagine this data in the context of Facebook or LinkedIn but the technique applies just as well to any other dataset like cellular phone calling records or pen-pals.</p> <p>The Louvain Method provides a means of measuring the strength of any proposed community based on a concept known as <strong>Modularity</strong>. Modularity is a value in the range <img alt="[-1, 1]" src="http://s3.amazonaws.com/dataskeptic.com/latex/%5B-1%2C+1%5D.svg" /> that measure the density of links internal to a community against links external to the community. The quite palatable assumption here is that a genuine community would have members that are strongly interconnected.</p> <p>A community is not necessarily the same thing as a clique; it is not required that all community members know each other. Rather, we simply define a community as a graph structure where the nodes are more connected to each other than connected to people outside the community.</p> <p>It's only natural that any person in a community has many connections to people outside that community. The more a community has internal connections over external connections, the stronger that community is considered to be. The Louvain Method elegantly captures this intuitively desirable quality.</p>