| cptgaisl-class | R Documentation |
S4 Class for Island Model Genetic Algorithm-Based Changepoint Detection
## S4 method for signature 'cptgaisl'
summary(object, ...)
object |
An object of class |
... |
Additional arguments (ignored). |
This class stores results and settings for the island model genetic algorithm ('cptgaisl') used in multiple changepoint detection and optional model order selection.
An object of class cptgaisl
callThe matched call that created the object.
NThe sample size of the time series.
prangeA list or NULL. Ranges for each model order parameter when option = "both".
popSizeInteger. It represents the total number of individuals in each generation, which equal to the number of islands multiplied by the size of each island (i.e., popSize = numIslands × Islandsize).
numIslandsInteger. The number of islands (sub-populations).
IslandsizeNumerical value. The number of individuals in each island.
pcrossoverProbability of crossover operation.
pmutationProbability of mutation operation.
pchangepointPrior probability of changepoint occurrence.
minDistMinimum distance between adjacent changepoints.
mmaxMaximum number of changepoints allowed.
lmaxMaximum length of chromosome.
maxMigMaximum number of migrations allowed.
maxgenMaximum number of generations per island before migration.
maxconvNumber of migrations with no improvement before stopping.
optionEither "cp" or "both".
monitoringLogical. If TRUE, prints intermediate output.
parallelLogical. Whether parallel computation is used.
nCoreInteger or NULL. Number of cores for parallelization.
tolTolerance threshold for fitness improvement.
seedInteger or NULL. Seed for reproducibility.
suggestionsA list or NULL. Suggested changepoint configurations.
IslandA 3D array storing all individual chromosomes in current generation across islands. Dimensions are lmax × Islandsize × numIslands, representing chromosome length, individuals per island, and number of islands, respectively.
IslandFitA matrix of fitness values in current generation with dimensions Islandsize × numIslands, where each column corresponds to one island's population.
overbestchromA vector. The best chromosome ever found.
overbestfitNumeric. The best fitness score obtained.
bestfitNumeric vector recording best fitness per migration.
countMigInteger vector tracking number of migrations.
countInteger vector tracking total generations.
convgInteger vector for convergence diagnostics.
cptgaisl, cptgaisl-class, random_population, selection_linearrank, uniformcrossover, mutation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.