Skip to content

fastcpd

Fast Change Point Detection via Sequential Gradient Descent

v0.16.2 · Apr 24, 2025 · GPL (>= 3)

Description

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.

Downloads

849

Last 30 days

4221st

2.2K

Last 90 days

9K

Last year

Trend: +11.3% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘fastcpd/libs/fastcpd.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘fastcpd/libs/fastcpd.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'fastcpd/libs/x64/fastcpd.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 64.8Mb
  sub-directories of 1Mb or more:
    doc    2.4Mb
    help   1.8Mb
    libs  59.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 66.0Mb
  sub-directories of 1Mb or more:
    doc    2.4Mb
    help   1.8Mb
    libs  60.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc    2.4Mb
    help   1.8Mb
    libs   2.4Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘fastcpd/libs/fastcpd.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 64.8Mb
  sub-directories of 1Mb or more:
    doc    2.4Mb
    help   1.8Mb
    libs  59.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 66.0Mb
  sub-directories of 1Mb or more:
    doc    2.4Mb
    help   1.8Mb
    libs  60.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc    2.4Mb
    help   1.8Mb
    libs   2.4Mb

Dependency Network

Dependencies Reverse dependencies glmnet Matrix Rcpp fastcpd

Version History

new 0.16.2 Mar 10, 2026
updated 0.16.2 ← 0.16.1 diff Apr 24, 2025
updated 0.16.1 ← 0.16.0 diff Mar 20, 2025
updated 0.16.0 ← 0.14.6 diff Mar 13, 2025
updated 0.14.6 ← 0.14.3 diff Nov 4, 2024
updated 0.14.3 ← 0.14.1 diff Apr 25, 2024
updated 0.14.1 ← 0.14.0 diff Apr 17, 2024
updated 0.14.0 ← 0.13.1 diff Apr 15, 2024
updated 0.13.1 ← 0.12.2 diff Mar 31, 2024
updated 0.12.2 ← 0.12.1 diff Mar 18, 2024
updated 0.12.1 ← 0.10.3 diff Mar 11, 2024
updated 0.10.3 ← 0.10.1 diff Jan 23, 2024
updated 0.10.1 ← 0.10.0 diff Jan 8, 2024
updated 0.10.0 ← 0.9.9 diff Dec 20, 2023
updated 0.9.9 ← 0.9.0 diff Dec 10, 2023
updated 0.9.0 ← 0.7.2 diff Oct 18, 2023
updated 0.7.2 ← 0.7.0 diff Sep 23, 2023
updated 0.7.0 ← 0.6.2 diff Sep 20, 2023
new 0.6.2 Sep 13, 2023