一维快速精确k均值、k中位数和Bregman散度聚类
Fast Exact k-Means, k-Medians and Bregman Divergence Clustering in 1D
摘要:
$n$点上的$k$ -均值聚类问题对于任何维数$d\ge 2$都是NP难的,然而,对于1D情况存在精确的多项式时间算法。以前的文献报道了使用$O(kn)$空间的$O(kn^2)$时间动态规划算法。事实证明,这个问题在20多年前就已经以不同的名称被考虑过了。我们提出了所有被忽视的现有工作,并从理论上比较各种解决方案。此外,我们展示了如何减少其中一些的空间使用,以及将它们推广到可以快速报告任何$k$的最佳$k$均值聚类的数据结构。最后,我们还推广了所有的算法工作的绝对距离和工作的任何布雷格曼分歧。我们补充我们的理论贡献的实验,比较各种算法的实际性能。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。