Nonparametric Density-Mode Clustering (Nearest-Neighbour or Uniform-Kernel Density)
The method estimates the density at every observation with a k-nearest-neighbour or uniform-kernel estimator and links each observation to the neighbour with the steepest increase in density. Following the links climbs to a local maximum of the density; all observations that reach the same maximum form one modal cluster.
k-최근접이웃 또는 균일 커널 추정량으로 각 관측의 밀도를 구하고, 각 관측을 밀도가 가장 가파르게 올라가는 이웃에 잇습니다. 연결을 따라가면 밀도의 국소 최댓값에 닿고, 같은 최댓값에 닿는 관측들이 하나의 최빈 군집이 됩니다.
How many density peaks does my data have, and which observations belong to each, without assuming cluster shapes?
군집 모양을 가정하지 않을 때 제 자료에는 밀도 봉우리가 몇 개 있고, 각 봉우리에 어떤 관측이 속합니까?
The output gives the number of modes, cluster sizes, the location and density of each mode, and each observation's cluster. More smoothing (larger k or radius) merges small peaks; compare a few smoothing values before trusting small clusters.
When to use Nonparametric Density-Mode Clustering (Nearest-Neighbour or Uniform-Kernel Density)
- Clusters may have irregular shapes and you want them defined by density peaks.
- You do not want to fix the number of clusters in advance.
When to use something else
- You want noise points flagged separately: use DBSCAN Density Based Clustering
- You want peaks found by moving points uphill with a smooth kernel: use Mean Shift Clustering
Assumptions and requirements
- Continuous variables on comparable scales (standardised by default)
- Enough observations for a stable density estimate
- The smoothing parameter matches the scale of real clusters
What the analysis reports
- Number of modes and cluster sizes
- Mode locations and densities
- Cluster label of every observation
How to report it
Density-mode clustering on a nearest-neighbour density (k = [value]; n = [value]) found [value] modes with cluster sizes [value].
Related methods
- Mean Shift Clustering
- Density Peaks Clustering
- DBSCAN Density Based Clustering
- Kernel Density Estimation
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with scikit-learn and direct computations (formulas, enumeration or simulation).
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Nonparametric Density-Mode Clustering (Nearest-Neighbour or Uniform-Kernel Density) on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.