We analyze the running time of the Hartigan-Wong method, an old algorithm for the -means clustering problem. First, we construct an instance on the line on which the method can take steps to converge, demonstrating that the Hartigan-Wong method has exponential worst-case running time even when -means is easy to solve. As this is in contrast to the empirical performance of the algorithm, we also analyze the running time in the framework of smoothed analysis. In particular, given an instance of points in dimensions, we prove that the expected number of iterations needed for the Hartigan-Wong method to terminate is bounded by when the points in the instance are perturbed by independent -dimensional Gaussian random variables of mean and standard deviation .

生成讲解博客的中文版本

生成AI智能校验的中文版本