Package: changepointGA 0.1.5

Mo Li

changepointGA: Changepoint Detection via Modified Genetic Algorithms

The Genetic Algorithm (GA) is used to perform changepoint analysis in time series data. The package also includes an extended island version of GA, as described in Lu, Lund, and Lee (2010, <doi:10.1214/09-AOAS289>). By mimicking the principles of natural selection and evolution, GA provides a powerful stochastic search technique for solving combinatorial optimization problems. In 'changepointGA', each chromosome represents a changepoint configuration, including the number and locations of changepoints, hyperparameters, and model parameters. The package employs genetic operators—selection, crossover, and mutation—to iteratively improve solutions based on the given fitness (objective) function. 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. The detailed algorithmic implementation can be found in the package vignettes and in the paper of Li (2024, <doi:10.48550/arXiv.2410.15571>).

Authors:Mo Li [aut, cre], QiQi Lu [aut]

changepointGA_0.1.5.tar.gz
changepointGA_0.1.5.tar.gz(r-4.7-arm64)changepointGA_0.1.5.tar.gz(r-4.7-x86_64)changepointGA_0.1.5.tar.gz(r-4.6-arm64)changepointGA_0.1.5.tar.gz(r-4.6-x86_64)
changepointGA_0.1.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
changepointGA/json (API)

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

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

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

3.95 score 2 packages 2 scripts 734 downloads 16 exports 8 dependencies

Last updated from:0952b677e8. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK130
linux-devel-x86_64OK131
source / vignettesOK283
linux-release-arm64OK167
linux-release-x86_64OK131
wasm-releaseOK113

Exports:amoc_crossoveramoc_mutationamoc_populationamoc_selectionarima_bicarima_bic_order_pqcpt_distcptgacptgaislmutationrandom_populationselect_tauselection_linear_ranksummaryts_simuniform_crossover

Dependencies:clueclustercodetoolsdoParallelforeachiteratorsRcppRcppArmadillo

A brief guide to changepointGA

Rendered fromvignette.Rmdusingknitr::rmarkdownon Jun 17 2026.

Last update: 2026-05-18
Started: 2025-02-17