Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Ensemble K-means
Machine learningMachine learning

Ensemble K-means

Ensemble K-means Clustering (Consensus Clustering) · Also known as: consensus K-means, K-means ensemble clustering, cluster ensemble with K-means, EKM

Ensemble K-means runs K-means clustering many times under varied initializations, random seeds, or feature subsets, then aggregates the resulting partitions into a single consensus assignment. This approach reduces K-means' well-known sensitivity to initialization and produces more stable, reproducible clusters than any single run.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Ensemble K-means
Ensemble Gaussian Mixtur…K-meansSemi-supervised K-meansEnsemble HDBSCANSelf-supervised K-means

When to use it

Use Ensemble K-means when a single K-means run gives unstable or irreproducible results across repeated analyses, when you are uncertain about the number of clusters k, or when the dataset has complex or elongated clusters that a single K-means initialization often misses. It is especially valuable in genomics, image segmentation, and customer segmentation where reproducibility matters. Do not use it as a substitute for domain-driven cluster validation: always interpret clusters substantively. Avoid it when computational budget is very tight (B runs cost B times the single-run time) or when the data has very high dimensionality without dimensionality reduction, as the co-association matrix becomes noisy.

Strengths & limitations

Strengths
  • Dramatically more stable and reproducible clusters than a single K-means run.
  • Agnostic to label permutation across runs, avoiding the correspondence problem.
  • Can aggregate runs with different k values, giving implicit robustness to the number-of-clusters choice.
  • The co-association matrix provides a soft similarity measure useful for downstream analysis.
  • Parallelizable: each of the B K-means runs is independent and can run concurrently.
Limitations
  • Computational cost scales linearly with the number of ensemble members B.
  • Storing and processing the n-by-n co-association matrix is memory-intensive for large n.
  • Final consensus clustering still requires choosing a method and its parameters (e.g., number of clusters).
  • Does not resolve the fundamental assumption of K-means (spherical, similarly sized clusters) unless combined with diverse base clusterers.

Frequently asked

How many ensemble members B should I use?

A common default is 50–100 runs. Increase B until the co-association matrix stabilizes — that is, the consensus cluster assignments no longer change when you add more runs. Fewer than 20 runs rarely provide meaningful stability gains.

How do I choose the number of clusters k?

Run the ensemble over a range of k values and inspect the consensus cumulative distribution function (CDF) plots. The k at which the CDF shows the most abrupt change (highest delta) indicates the most distinct clustering. The consensus approach is specifically designed to make this selection more reliable than the elbow method on a single K-means run.

Does Ensemble K-means solve K-means' assumption of spherical clusters?

Not fully. If all ensemble members use standard K-means with Euclidean distance, the aggregate still inherits a preference for convex, roughly spherical clusters. For non-convex or arbitrarily shaped clusters, combine ensemble clustering with kernel K-means or replace some base clusterers with DBSCAN.

What is the difference between Ensemble K-means and just running K-means many times and picking the best?

Picking the best single run by lowest inertia is a greedy deterministic choice; it discards the information in all other runs. Ensemble K-means aggregates all runs into a co-association matrix, capturing the probabilistic co-occurrence structure across runs, which is strictly more informative than any single winning partition.

Is this suitable for very large datasets?

The co-association matrix is n-by-n, so memory becomes a bottleneck beyond roughly 50,000 points. For larger datasets, use sparse co-association approximations, mini-batch K-means as base clusterer, or subsampling strategies such as the consensus clustering variant of Monti et al.

Sources

  1. Strehl, A. & Ghosh, J. (2002). Cluster ensembles — a knowledge reuse framework for combining multiple partitions. Journal of Machine Learning Research, 3, 583–617. link ↗
  2. Monti, S., Tamayo, P., Mesirov, J. & Golub, T. (2003). Consensus clustering: a resampling-based method for class discovery and visualization of gene expression microarray data. Machine Learning, 52, 91–118. DOI: 10.1023/A:1023949509487 ↗

How to cite this page

ScholarGate. (2026, June 3). Ensemble K-means Clustering (Consensus Clustering). ScholarGate. https://scholargate.app/en/machine-learning/ensemble-k-means

Related methods

Ensemble Gaussian Mixture ModelK-meansSemi-supervised K-means

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Ensemble Gaussian Mixture ModelMachine learning↔ compare
  • K-meansMachine learning↔ compare
  • Semi-supervised K-meansMachine learning↔ compare
Compare side by side →

Referenced by

Ensemble HDBSCANSelf-supervised K-means

Similar methods

Ensemble HDBSCANK-meansEnsemble Gaussian Mixture ModelEnsemble K-nearest neighborsK-Means ClusteringRobust k-meansRobust K-means ClusteringRegularized k-means

Related reference concepts

K-Means ClusteringClustering AlgorithmsCluster AnalysisModel-Based ClusteringText ClusteringHierarchical Cluster Analysis

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Ensemble K-means (Ensemble K-means Clustering (Consensus Clustering)). Retrieved 2026-07-21 from https://scholargate.app/en/machine-learning/ensemble-k-means · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Strehl, A. & Ghosh, J.
Year
2002
Type
Ensemble clustering (consensus aggregation of K-means partitions)
DataType
Continuous or mixed tabular features
Subfamily
Machine learning
Related methods
Ensemble Gaussian Mixture ModelK-meansSemi-supervised K-means
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account