Package: changepointGA 0.1.0

Mo Li

changepointGA: Changepoint Detection via Modified Genetic Algorithm

The changepointGA R package implements genetic algorithms (GAs) to perform changepoint analysis in time series data. The pacakge also includes the extended island version of GAs describled in the paper of Lu, Lund and Lee (2010, <doi:10.1214/09-AOAS289>). By mimicking the principles of natural selection and evolution, GAs offer a powerful stochastic search technique for addressing combinatorial optimization problems. In changepointGA, each chromosome represents changepoint configurations, including the number and locations of changepoints, hyperparameters, and model parameters. The package uses genetic operators—selection, crossover, and mutation—to iteratively improve solutions based on fitness. Key features of changepointGA include encoding changepoint configurations in an integer format, enabling dynamic and simultaneous estimation of model hyperparameters, changepoint configurations, and associated parameters. This detail algorithm implementation can be found in the pacakge associated vignettes and the paper of Mo (2024, <doi:arXiv:2410.15571>).

Authors:Mo Li [aut, cre]

changepointGA_0.1.0.tar.gz
changepointGA_0.1.0.zip(r-4.5)changepointGA_0.1.0.zip(r-4.4)changepointGA_0.1.0.zip(r-4.3)
changepointGA_0.1.0.tgz(r-4.5-x86_64)changepointGA_0.1.0.tgz(r-4.5-arm64)changepointGA_0.1.0.tgz(r-4.4-x86_64)changepointGA_0.1.0.tgz(r-4.4-arm64)changepointGA_0.1.0.tgz(r-4.3-x86_64)changepointGA_0.1.0.tgz(r-4.3-arm64)
changepointGA_0.1.0.tar.gz(r-4.5-noble)changepointGA_0.1.0.tar.gz(r-4.4-noble)
changepointGA_0.1.0.tgz(r-4.4-emscripten)changepointGA_0.1.0.tgz(r-4.3-emscripten)
changepointGA.pdf |changepointGA.html
changepointGA/json (API)

# Install 'changepointGA' in R:
install.packages('changepointGA', repos = c('https://mli171.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mli171/changepointga/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

cpp

4.93 score 16 exports 8 dependencies

Last updated 12 days agofrom:35214df6e7. Checks:11 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 18 2025
R-4.5-win-x86_64OKFeb 18 2025
R-4.5-mac-x86_64OKFeb 18 2025
R-4.5-mac-aarch64OKFeb 18 2025
R-4.5-linux-x86_64OKFeb 18 2025
R-4.4-win-x86_64OKFeb 18 2025
R-4.4-mac-x86_64OKFeb 18 2025
R-4.4-mac-aarch64OKFeb 18 2025
R-4.3-win-x86_64OKFeb 18 2025
R-4.3-mac-x86_64OKFeb 18 2025
R-4.3-mac-aarch64OKFeb 18 2025

Exports:AMOCcrossoverAMOCmutationAMOCpopulationAMOCselectionARIMA.BIC.OrderBinSearch.BICcptDistGAIslandGAmutationrandom_populationselection_linearrankselectTauts.simTsPlotCheckuniformcrossover

Dependencies:clueclustercodetoolsdoParallelforeachiteratorsRcppRcppArmadillo

A brief guide to changepointGA

Rendered fromvignette.Rmdusingknitr::rmarkdownon Feb 18 2025.

Last update: 2025-02-07
Started: 2025-02-07