UltipaDocs
Try Playground
  • Introduction
    • Show Algorithms
    • Install and Uninstall
    • Run Algorithms
    • Algorithm Results and Statistics
    • Degree Centrality
    • Closeness Centrality
    • Harmonic Centrality
    • Graph Centrality
    • Betweenness Centrality
    • Eigenvector Centrality
    • CELF
    • PageRank
    • ArticleRank
    • HITS
    • SybilRank
    • Jaccard Similarity
    • Overlap Similarity
    • Cosine Similarity
    • Pearson Correlation Coefficient
    • Euclidean Distance
    • K-Hop All
    • Bipartite Graph
    • HyperANF
    • Connected Component
    • Triangle Counting
    • Induced Subgraph
    • k-Core
    • k-Truss
    • p-Cohesion
    • k-Edge Connected Components
    • Local Clustering Coefficient
    • Topological Sort
    • Schema Overview
    • Dijkstra's Single-Source Shortest Path
    • Delta-Stepping Single-Source Shortest Path
    • Shortest Path Faster Algorithm (SPFA)
    • Minimum Spanning Tree
    • Breadth-First Search (BFS)
    • Depth-First Search (DFS)
    • Adamic-Adar Index
    • Common Neighbors
    • Preferential Attachment
    • Resource Allocation
    • Total Neighbors
    • Louvain
    • Leiden
    • Label Propagation
    • HANP
    • k-Means
    • kNN (k-Nearest Neighbors)
    • K-1 Coloring
    • Conductance
      • Random Walk
      • Node2Vec Walk
      • Node2Vec
      • Struc2Vec Walk
      • Struc2Vec
      • GraphSAGE
      • GraphSAGE Train
      • LINE
      • Fast Random Projection
      • Summary of Graph Embedding
      • Gradient Descent
      • Backpropagation
      • Skip-gram
      • Skip-gram Optimization
  1. Docs
  2. /
  3. Graph Analytics & Algorithms
  4. /
  5. Community Detection & Classification

Conductance

✓ File Writeback ✕ Property Writeback ✓ Direct Return ✓ Stream Return ✕ Stats

Overview

Conductance is a natural and widely-adopted notion of community goodness and has the ability to detect both non-overlapping and highly overlapping communities for weighted networks. It is particularly useful when studying random walks in graphs.

  • Empirical Comparison of Algorithms for Network Community Detection (2010)
  • Defining and Evaluating Network Communities based on Ground-truth (2012)

Concepts

Cut

In graph theory, a cut is the partition that divides a graph into two disjoint subsets. The weight of a cut is the sum of weights of the edges crossing the cut.

The example graph is separated into two clusters, with node A, B and C as Cluster Yellow and node D, E, F,and G as Cluster Blue. The cut here crosses edge AE and edge CD, and the weight of the cut is 2.

Conductance

Conductance is a metric to measure the quality of a partition. Given a graph G = (V,E), when it is partitioned into two sets, S and V\S, the conductance is defined as

where δ(S) is defined to be the set of edges of G with exactly one endpoint in set S.
The lower the conductance, the better the identified community is. As the example graph above, Cut2 is better than Cut1.

Syntax

  • Command: algo(conductance)
  • Parameters:
Name
Type
Spec
Default
Optional
Description
community_property[]@<schema?.property//Yes???The community ID generated by other community-detection algo such as Louvain or LPA

Examples

File Writeback

SpecContent
filename_id,degree

Direct Return

Alias Ordinal
Type
Description
Columns
0intCommunity IDcommunity_id
1floatConductanceconductance

Stream Return

Alias Ordinal
Type
Description
Columns
0intCommunity IDcommunity_id
1floatConductanceconductance