gfpop: an R Package for Univariate Graph-Constrained Change-Point Detection

Vincent Runge, Toby Dylan Hocking, Gaetano Romano, Fatemeh Afghah, Paul Fearnhead +1 more
2/10/2020
stat.CO

Official code: vrunge/gfpop (12 stars, HTML, last commit 2025-10-14).

Abstract

In a world with data that change rapidly and abruptly, it is important to detect those changes accurately. In this paper we describe an R package implementing a generalized version of an algorithm recently proposed by Hocking et al. [2020] for penalized maximum likelihood inference of constrained multiple change-point models.

Show full abstract

This algorithm can be used to pinpoint the precise locations of abrupt changes in large data sequences. There are many application domains for such models, such as medicine, neuroscience or genomics. Often, practitioners have prior knowledge about the changes they are looking for. For example in genomic data, biologists sometimes expect peaks: up changes followed by down changes. Taking advantage of such prior information can substantially improve the accuracy with which we can detect and estimate changes. Hocking et al. [2020] described a graph framework to encode many examples of such prior information and a generic algorithm to infer the optimal model parameters, but implemented the algorithm for just a single scenario. We present the gfpop package that implements the algorithm in a generic manner in R/C++. gfpop works for a user-defined graph that can encode prior assumptions about the types of change that are possible and implements several loss functions (Gauss, Poisson, binomial, biweight and Huber). We then illustrate the use of gfpop on isotonic simulations and several applications in biology. For a number of graphs the algorithm runs in a matter of seconds or minutes for 10^5 data points.

View on arXivView PDF

Code Implementations(1)

vrunge/gfpopOfficial100%
1210HTML, C++Nov 30, 20181 years agoNOASSERTION

Similar Papers

Cite this paper

@article{runge2020gfpop,
  title  = {gfpop: an R Package for Univariate Graph-Constrained Change-Point Detection},
  author = {Vincent Runge and Toby Dylan Hocking and Gaetano Romano and Fatemeh Afghah and Paul Fearnhead and Guillem Rigaill},
  year   = {2020},
  eprint = {2002.03646},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.03646}
}

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/2002.03646.svg)](https://codeofpaper.com/paper/2002.03646)

Discussion