Bagged Clustering (Leisch)
An ensemble clustering method that runs k-means with many centres on bootstrap samples of the data and then clusters all of the resulting centres hierarchically, so that the final groups combine the stability of resampling with the flexibility of a tree.
부트스트랩 표본마다 중심을 넉넉히 둔 k-평균을 돌리고 모인 중심들을 계층적으로 다시 군집해, 재표집의 안정성과 나무 구조의 유연성을 함께 얻는 앙상블 군집 방법입니다.
Can I obtain a more stable partition than a single k-means run, and see how the groups relate through a hierarchy of centres?
k-평균 한 번보다 안정적인 군집을 얻고, 중심들의 계층 구조로 군집 사이의 관계도 볼 수 있을까요?
The method draws bootstrap samples, runs k-means with a generous number of centres on each, and pools all centres. A hierarchical clustering of the pooled centres is cut into the requested number of groups, and each observation joins the group of its nearest centre.
When to use Bagged Clustering (Leisch)
- k-means results change from run to run.
- Clusters may be non-spherical and could be built from several k-means centres.
- You want a dendrogram of centres to help choose the number of groups.
When to use something else
- Agreement of repeated clusterings is the main interest: use Consensus Clustering.
- Clusters have very different densities or noise points: use HDBSCAN Clustering.
- A probabilistic model with membership probabilities is needed: use Gaussian Mixture Model (GMM).
Assumptions and requirements
- Euclidean distance on the (standardised) variables is meaningful.
- The number of base centres is larger than the number of final groups.
- Observations are independent.
What the analysis reports
- Cluster labels and sizes
- Cluster profiles (variable means)
- Share of variation between clusters
- Merge heights of the centre tree near the chosen number of groups
How to report it
Bagged clustering (20 bootstrap samples x 20 k-means centres, average linkage) gave [k] clusters of sizes [sizes].
Related methods
- K-Means Clustering
- Consensus Clustering
- Hierarchical Cluster Analysis
- Cluster Stability by Bootstrap (Jaccard)
How this method is validated
이 방법의 검증 근거
- R cross-check. 4 reported values agree with R (e1071::bclust) within a tolerance of 1e-9; the largest observed difference is 4e-16.
R 교차 검증. R(e1071::bclust) 대조: 보고 값 4개가 허용오차 1e-9 안에서 일치합니다(관측된 최대 차이 4e-16).
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (40 values) agree with R (psych::describe, stats::quantile, stats::t.test, stats::cor.test) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, stats::quantile, stats::t.test, stats::cor.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 40개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 1 reference test compares the results with SciPy and scikit-learn.
독립 계산. SciPy·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 Bagged Clustering (Leisch) 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
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.