Random Forests for Change Point Detection

Malte Londschien, Peter Bühlmann, Solt Kovács
5/10/2022
44 citations
stat.MEstat.ML

Official code: mlondschien/changeforest (61 stars, Rust, BSD-3-Clause, Rust, last commit 2025-12-12). 1 more implementation below.

Abstract

We propose a novel multivariate nonparametric multiple change point detection method using classifiers. We construct a classifier log-likelihood ratio that uses class probability predictions to compare different change point configurations.

Show full abstract

We propose a computationally feasible search method that is particularly well suited for random forests, denoted by changeforest. However, the method can be paired with any classifier that yields class probability predictions, which we illustrate by also using a k-nearest neighbor classifier. We prove that it consistently locates change points in single change point settings when paired with a consistent classifier. Our proposed method changeforest achieves improved empirical performance in an extensive simulation study compared to existing multivariate nonparametric change point detection methods. An efficient implementation of our method is made available for R, Python, and Rust users in the changeforest software package.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
mlondschien/changeforestOfficial61RustBSD-3-Clause2025-12-12
mlondschien/changeforest-simulationsOfficial1Python–2023-02-05
RustBSD-3-Clause

Random Forests for Change Point Detection

6111Rust, RSep 16, 202111 months agoBSD-3-Clause
change-point-detectionchangepointchangepoint-detectionsignal-processing
11Python, RNov 11, 20213 years ago

Similar Papers

Cite this paper

@article{londschien2022random,
  title  = {Random Forests for Change Point Detection},
  author = {Malte Londschien and Peter Bühlmann and Solt Kovács},
  year   = {2022},
  eprint = {2205.04997},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.04997}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.04997.svg)](https://codeofpaper.com/paper/2205.04997)

Discussion