What to do when K-means clustering fails:a simple yet principled alternative algorithm

Abstract

The K-means algorithm is one of the most popular clustering algorithms in current use as it is relatively fast yet simple to understand and deploy in practice. Nevertheless, its use entails certain restrictive assumptions about the data, the negative consequences of which are not always immediately apparent, as we demonstrate. While more flexible algorithms have been developed, their widespread use has been hindered by their computational and technical complexity. Motivated by these considerations, we present a flexible alternative to K-means that relaxes most of the assumptions, whilst remaining almost as fast and simple. This novel algorithm which we call MAP-DP (maximum a-posteriori Dirichlet process mixtures), is statistically rigorous as it is based on nonparametric Bayesian Dirichlet process mixture modeling. This approach allows us to overcome most of the limitations imposed by K-means. The number of clusters K is estimated from the data instead of being fixed a-priori as in K-means. In addition, while K-means is restricted to continuous data, the MAP-DP framework can be applied to many kinds of data, for example, binary, count or ordinal data. Also, it can efficiently separate outliers from the data. This additional flexibility does not incur a significant computational overhead compared to K-means with MAP-DP convergence typically achieved in the order of seconds for many practical problems. Finally, in contrast to K-means, since the algorithm is based on an underlying statistical model, the MAP-DP framework can deal with missing data and enables model testing such as cross validation in a principled way. We demonstrate the simplicity and effectiveness of this algorithm on the health informatics problem of clinical sub-typing in a cluster of diseases known as parkinsonism.

Publication DOI: https://doi.org/10.1371/journal.pone.0162259
Divisions: College of Engineering & Physical Sciences
College of Engineering & Physical Sciences > Systems analytics research institute (SARI)
Additional Information: © 2016 Raykov et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability: Analyzed data has been collected from PD-DOC organizing centre which has now closed down. Researchers would need to contact Rochester University in order to access the database. For more information about the PD-DOC data, please contact: Karl D. Kieburtz, M.D., M.P.H. (https://www.urmc.rochester.edu/people/20120238-karl-d-kieburtz).
Uncontrolled Keywords: Medicine(all),Biochemistry, Genetics and Molecular Biology(all),Agricultural and Biological Sciences(all)
Publication ISSN: 1932-6203
Last Modified: 15 Apr 2024 07:19
Date Deposited: 08 Nov 2016 10:20
Full Text Link: http://journals ... al.pone.0162259
Related URLs: http://www.scop ... tnerID=8YFLogxK (Scopus URL)
https://figshar ... gorithm/3862290 (Related URL)
PURE Output Type: Article
Published Date: 2016-09-26
Accepted Date: 2016-08-21
Submitted Date: 2016-01-21
Authors: Raykov, Yordan P. (ORCID Profile 0000-0003-0753-717X)
Boukouvalas, Alexis
Baig, Fahd
Little, Max A. (ORCID Profile 0000-0002-1507-3822)

Download

[img]

Version: Published Version

License: Creative Commons Attribution


Export / Share Citation


Statistics

Additional statistics for this record