Metraipolis › archive › dc_e2647daa7b42
gridcp: Fast Online Changepoint Detection in Python — arXiv:2608.18695
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.18695
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T13:56:51.930Z
- SHA-256 of the archived text
e67d7920f049875fe982f0dafbfd731ed5a7fde8e8a8a8c76abe0c4d40f924ce- Stable URL of this page
https://metraipolis.com/documento/dc_e2647daa7b42
How to cite
gridcp: Fast Online Changepoint Detection in Python — arXiv:2608.18695 — arXiv (en), https://arxiv.org/abs/2608.18695 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e2647daa7b42 (Metraipolis archive dc_e2647daa7b42, sha256 e67d7920f049875fe982f0dafbfd731ed5a7fde8e8a8a8c76abe0c4d40f924ce)
BibTeX
@misc{dce2647daa7b42,
title = {gridcp: Fast Online Changepoint Detection in Python — arXiv:2608.18695},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.18695},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e2647daa7b42; sha256 e67d7920f049875fe982f0dafbfd731ed5a7fde8e8a8a8c76abe0c4d40f924ce},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.18695. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Online changepoint detection is the problem of detecting distributional changes in a data stream in real-time. A large body of methodology exists for the offline (fixed-size) setting, but applying these methods online quickly becomes infeasible since the per-observation computational cost and memory consumption typically grow at least linearly with the sample size. A recently proposed grid-based methodology (Moen, 2026) overcomes this by evaluating an offline test statistic over a sparse geometric grid of split points, with grid points spaced increasingly far apart further in the past. For a wide class of test statistics, this approach keeps update time and memory consumption growing logarithmic in the length of the data stream, while admitting finite-sample guarantees on the detection delay. Building on this methodology, we present gridcp, an open-source Python package that turns offline changepoint tests into efficient online detectors through a single, uniform interface. Users can choose from nine Numba-accelerated built-in tests, spanning changes in the mean, variance, covariance, and regression coefficients, as well as nonparametric tests and generalized likelihood-ratio tests for exponential-family models. Users can also supply their own test, which the package handles identically. For any test, gridcp provides Monte Carlo routines that calibrate the detection threshold to a target false alarm probability or average run length, including data-driven variants when no parametric null model is available. Through simulations and three real-data case studies, we show that calibration is accurate, that runtime scales favorably with both stream length and dimension, and that the complete pipeline, from calibration to deployment, runs efficiently on long real-world streams with only a short detection delay. Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-08-20 in stat.ME). Categorie arXiv: Methodology (stat.ME). Pagina del lavoro: https://arxiv.org/abs/2608.18695 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T13:53:24.407Z dalla pagina https://arxiv.org/catchup/stat.ME/2026-08-20?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).