arXiv (Cornell University) · 2017 · 49 citations · 19 references
ComputingComputer ScienceMathematicsAlgorithmsData MiningData StructuresApproximation AlgorithmsDimensionality ReductionMetric LearningNearest Neighbor SearchBregman DivergenceExact AlgorithmsK-means ClusteringPolynomial-time Algorithms
The $k$-Means clustering problem on $n$ points is NP-Hard for any dimension $d\ge 2$, however, for the 1D case there exists exact polynomial time algorithms. Previous literature reported an $O(kn^2)$ time dynamic programming algorithm that uses $O(kn)$ space. It turns out that the problem has been considered under a different name more than twenty years ago. We present all the existing work that had been overlooked and compare the various solutions theoretically. Moreover, we show how to reduce the space usage for some of them, as well as generalize them to data structures that can quickly report an optimal $k$-Means clustering for any $k$. Finally we also generalize all the algorithms to work for the absolute distance and to work for any Bregman Divergence. We complement our theoretical contributions by experiments that compare the practical performance of the various algorithms.
19
k-means++: the advantages of careful seeding
David Arthur, Sergei Vassilvitskii · 2007 · 6.3K citations
Clustering with Bregman Divergences
Arindam Banerjee, Srujana Merugu, Inderjit S. Dhillon et al. · 2004 · 1.5K citations
A linear space algorithm for computing maximal common subsequences
D. S. Hirschberg · Communications of the ACM · 1975 · 1.1K citations · Full text
NP-hardness of Euclidean sum-of-squares clustering
Daniel Aloise, Amit Deshpande, Pierre Hansen et al. · Machine Learning · 2009 · 863 citations · Full text
Geometric applications of a matrix-searching algorithm
Alok Aggarwal, Maria Klawe, Shlomo Moran et al. · Algorithmica · 1987 · 448 citations