English

A more efficient algorithm to compute the Rand Index for change-point problems

Data Structures and Algorithms 2025-06-23 v2 Computation

Abstract

We provide a more efficient algorithm for computing the Rand Index when the data cluster comes from a change-point detection problem. Given NN data points and two clusterings of size rr and ss, the algorithm runs on O(r+s)O(r+s) time complexity and O(1)O(1) memory complexity. The traditional algorithm, in contrast, runs on O(rs+N)O(rs+N) time complexity and O(rs)O(rs) memory complexity.

Keywords

Cite

@article{arxiv.2112.03738,
  title  = {A more efficient algorithm to compute the Rand Index for change-point problems},
  author = {Lucas de Oliveira Prates},
  journal= {arXiv preprint arXiv:2112.03738},
  year   = {2025}
}
R2 v1 2026-06-24T08:07:39.456Z