When would you prefer a Gaussian mixture model over k-means for a clustering task?

Last updated 11 November 2026

  • Prefer a GMM when clusters are elongated, correlated, differently sized, or overlapping. k-means assumes equal-sized spheres with hard assignments.

  • A GMM gives soft responsibilities p(k | x) and a density p(x) (useful for anomaly detection and sampling), plus BIC/AIC to choose K.

  • Stick with k-means for very large data, roughly spherical clusters, or when speed matters. GMMs cost more per iteration and can be unstable in high dimensions.

  • https://blog.dailydoseofds.com/p/kmeans-vs-gaussian-mixture-models
  • https://medium.com/@VectorWorksAcademy/mastering-gaussian-mixture-models-concepts-applications-and-interview-preparation-a7c0aebfbcc3
  • https://www.geeksforgeeks.org/machine-learning/gaussian-mixture-models-gmm-covariances-in-scikit-learn/
All Clustering interview questions