Package: fastcpd 0.20.0


Xingchi Li
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.
Authors:
fastcpd_0.20.0.tar.gz
fastcpd_0.20.0.zip(r-4.7)fastcpd_0.20.0.zip(r-4.6)fastcpd_0.20.0.zip(r-4.5)
fastcpd_0.20.0.tgz(r-4.6-x86_64)fastcpd_0.20.0.tgz(r-4.6-arm64)fastcpd_0.20.0.tgz(r-4.5-x86_64)fastcpd_0.20.0.tgz(r-4.5-arm64)
fastcpd_0.20.0.tar.gz(r-4.7-arm64)fastcpd_0.20.0.tar.gz(r-4.7-x86_64)fastcpd_0.20.0.tar.gz(r-4.6-arm64)fastcpd_0.20.0.tar.gz(r-4.6-x86_64)
fastcpd_0.20.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fastcpd/json (API)
NEWS
| # Install 'fastcpd' in R: |
| install.packages('fastcpd', repos = c('https://doccstat.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/doccstat/fastcpd/issues
Pkgdown/docs site:https://fastcpd.xingchi.li
- bitcoin - Bitcoin Market Price
- occupancy - Occupancy Detection Data Set
- transcriptome - Transcription Profiling of 57 Human Bladder Carcinoma Samples
- uk_seatbelts - UK Seatbelts Data
- well_log - Well-log Dataset from Numerical Bayesian Methods Applied to Signal Processing
change-point-detectioncppcustom-functiongradient-descentlassolinear-regressionlogistic-regressionofflinepeltpenalized-regressionpoisson-regressionpypi-packagepythonpython3quasi-newtonstatisticstime-serieswarm-startopenblascppopenmp
Last updated from:6397da216b. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 1939 | ||
| linux-devel-x86_64 | OK | 1460 | ||
| source / vignettes | OK | 3380 | ||
| linux-release-arm64 | OK | 1900 | ||
| linux-release-x86_64 | OK | 1807 | ||
| macos-release-arm64 | OK | 1383 | ||
| macos-release-x86_64 | OK | 2684 | ||
| macos-oldrel-arm64 | OK | 1305 | ||
| macos-oldrel-x86_64 | OK | 2787 | ||
| windows-devel | OK | 2896 | ||
| windows-release | OK | 2702 | ||
| windows-oldrel | OK | 1945 | ||
| wasm-release | OK | 1546 |
Exports:fastcpdfastcpd_arfastcpd_arimafastcpd_armafastcpd_binomialfastcpd_garchfastcpd_lassofastcpd_lmfastcpd_meanfastcpd_meanvariancefastcpd_mvfastcpd_poissonfastcpd_tsfastcpd_varfastcpd_variancefastcpd.arfastcpd.arimafastcpd.armafastcpd.binomialfastcpd.garchfastcpd.lassofastcpd.lmfastcpd.meanfastcpd.meanvariancefastcpd.mvfastcpd.poissonfastcpd.tsfastcpd.varfastcpd.varianceplotprintshowsummaryvariance_armavariance_lmvariance_meanvariance_medianvariance.armavariance.lmvariance.meanvariance.median
Dependencies:briocallrclicodetoolscrayondescdiffobjevaluateforeachfsglmnetgluehmsiteratorsjsonlitelatticelifecyclemagrittrMatrixpkgbuildpkgconfigpkgloadpraiseprettyunitsprocessxprogresspsR6RcppRcppArmadilloRcppEigenrlangrprojrootshapesurvivaltestthatvctrswaldowithr
Advanced examples
Rendered fromexamples-advanced.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2025-03-15
Started: 2023-12-20
Comparison with other R packages
Rendered fromcomparison-packages.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2025-03-12
Started: 2023-12-20
Comparison with vanilla PELT
Rendered fromcomparison-pelt.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2025-03-13
Started: 2023-12-20
Custom logistic regression model
Rendered fromexamples-custom-model.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2025-03-15
Started: 2024-02-22
Exploration during development
Rendered fromexploration-during-development.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2025-03-15
Started: 2025-03-09
Time Complexity Analysis in fastcpd
Rendered fromtime-complexity.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2025-03-13
Started: 2025-03-11