Fast Exact k-Means, k-Medians and Bregman Divergence Clustering in 1D

01/25/2017
by   Allan Grønlund, et al.
0

The k-Means clustering problem on n points is NP-Hard for any dimension d> 2, however, for the 1D case there exist exact polynomial time algorithms. Previous literature reported an O(kn^2) time dynamic programming algorithm that uses O(kn) space. We present a new algorithm computing the optimal clustering in only O(kn) time using linear space. For k = Ω( n), we improve this even further to n 2^O(√( n k)) time. We generalize the new algorithm(s) to work for the absolute distance instead of squared distance and to work for any Bregman Divergence as well.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/28/2022

A Faster k-means++ Algorithm

K-means++ is an important algorithm to choose initial cluster centers fo...
research
01/25/2023

Exact and rapid linear clustering of networks with dynamic programming

We study the problem of clustering networks whose nodes have imputed or ...
research
02/11/2023

Partial k-means to avoid outliers, mathematical programming formulations, complexity results

A well-known bottleneck of Min-Sum-of-Square Clustering (MSSC, the celeb...
research
06/21/2023

An efficient, provably exact algorithm for the 0-1 loss linear classification problem

Algorithms for solving the linear classification problem have a long his...
research
03/29/2013

On the symmetrical Kullback-Leibler Jeffreys centroids

Due to the success of the bag-of-word modeling paradigm, clustering hist...
research
08/15/2013

The algorithm of noisy k-means

In this note, we introduce a new algorithm to deal with finite dimension...
research
05/23/2016

A Sub-Quadratic Exact Medoid Algorithm

We present a new algorithm, trimed, for obtaining the medoid of a set, t...

Please sign up or login with your details

Forgot password? Click here to reset