Crandore Hub

fastcpd

Fast Change Point Detection via Sequential Gradient Descent

Implements fast change point detection algorithm based on the paper "Sequential Gradient Descent and Quasi-Newton's Method for Change-Point Analysis" by Xianyang Zhang, Trisha Dawn <https://proceedings.mlr.press/v206/zhang23b.html>. The algorithm is based on dynamic programming with pruning and sequential gradient descent. It is able to detect change points a magnitude faster than the vanilla Pruned Exact Linear Time(PELT). The package includes examples of linear regression, logistic regression, Poisson regression, penalized linear regression data, and whole lot more examples with custom cost function in case the user wants to use their own cost function.

Versions across snapshots

VersionRepositoryFileSize
0.16.2 rolling source/ R- fastcpd_0.16.2.tar.gz 4.8 MiB
0.16.2 latest source/ R- fastcpd_0.16.2.tar.gz 4.8 MiB
0.16.2 2026-04-23 source/ R- fastcpd_0.16.2.tar.gz 4.8 MiB
0.16.2 2026-04-09 windows/windows R-4.5 fastcpd_0.16.2.zip 4.8 MiB

Dependencies (latest)

Imports

LinkingTo

Suggests