Spectral Clustering of Networks
The method groups the nodes of a network into k clusters by embedding each node with the eigenvectors of the graph Laplacian that have the smallest eigenvalues and running k-means on the embedding. This approximately minimises the normalised or ratio cut, so clusters have many links inside and few between. When k is not given it is chosen at the largest gap between consecutive eigenvalues.
작은 고윳값을 가진 그래프 라플라시안 고유벡터들로 각 마디를 좌표에 놓고, 그 좌표에 k-평균을 돌려 연결망의 마디를 k개의 군집으로 나눕니다. 이는 정규화 절단 또는 비율 절단을 근사적으로 최소화하므로, 군집 안에는 연결이 많고 군집 사이에는 적습니다. k를 주지 않으면 이웃한 고윳값 사이의 간격이 가장 큰 곳에서 고릅니다.
Into how many groups does this network fall, and which nodes belong together?
이 연결망은 몇 개의 집단으로 나뉘며, 어떤 마디들이 함께 묶입니까?
The method reports the cluster of every node, the number of clusters and how k was chosen, the eigengap, the cluster sizes, volumes and conductances, the normalised cut, ratio cut and modularity, and the lowest Laplacian eigenvalues.
When to use Spectral Clustering of Networks
- You want k groups of nodes with few links between groups.
- You want the eigenvalue spectrum to suggest the number of groups.
- The network is undirected with up to about 3,000 nodes.
When to use something else
- You want to cluster rows of a data table rather than nodes of a network: use Spectral Cluster Analysis
- You want the number of communities chosen by modularity: use Community Detection (Louvain, Walktrap)
- You want a probabilistic group model: use Stochastic Block Model
Assumptions and requirements
- Undirected links with non-negative weights
- A clear eigengap when k is chosen automatically
- k-means finds a stable assignment
What the analysis reports
- Cluster of each node
- Number of clusters and eigengap
- Size, volume, cut and conductance per cluster
- Normalised cut, ratio cut and modularity
How to report it
Spectral clustering of [value] nodes into k = [value] clusters gave normalised cut [value] and modularity Q = [value].
Related methods
- Spectral Bisection (Fiedler Vector)
- Spectral Cluster Analysis
- Community Detection (Louvain, Walktrap)
- Stochastic Block Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with NetworkX, NumPy, scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-7.
독립 계산. NetworkX·NumPy·scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-7).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Spectral Clustering of Networks on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.