Density Peaks Clustering
Density peaks clustering finds cluster centres as points that have a high local density and are far from any point of higher density. For every point it computes a local density and the distance to the nearest denser point; plotted against each other in a decision graph, centres stand out at the top right. Every other point joins the cluster of its nearest denser neighbour.
밀도 봉우리 군집분석은 국소 밀도가 높으면서 더 밀도가 높은 점과는 멀리 떨어진 점을 군집 중심으로 찾습니다. 각 점의 국소 밀도와 더 밀한 점까지의 거리를 계산해 결정 그래프에 그리면 중심이 오른쪽 위에 두드러지며, 나머지 점은 가장 가까운 더 밀한 이웃의 군집에 들어갑니다.
How many natural groups are in the data and which observations belong to each, when clusters may have irregular shapes?
군집의 모양이 불규칙할 때 자료에 자연스러운 집단이 몇 개 있고 각 관측값은 어디에 속할까요?
The method reports the cut-off distance, the chosen centres with their density and distance values, the cluster sizes, the core and halo (border) members of each cluster and a silhouette value. The number of clusters can be fixed or chosen from the largest jump in the product of density and distance.
When to use Density Peaks Clustering
- Clusters are not spherical and k-means splits them badly.
- You want a visual decision graph to justify the number of clusters.
- The data set has up to about ten thousand rows.
When to use something else
- Clusters are compact and roughly spherical: use K-Means Clustering
- Many points are noise and should stay unassigned: use DBSCAN Clustering
- Clusters differ strongly in density: use HDBSCAN Clustering
Assumptions and requirements
- Numeric features on comparable scales (z-scored by default)
- Cluster centres are surrounded by lower-density points
- The cut-off distance (a small quantile of pairwise distances) suits the data scale
What the analysis reports
- Cluster label per row with core and halo membership
- Centres with density, distance and gamma
- Cut-off distance
- Decision graph
How to report it
Density peaks clustering (Gaussian kernel, cut-off distance [value]) on [value] rows found [value] clusters of sizes [value], with [value] halo points; silhouette = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation).
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
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 Density Peaks Clustering 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.