| Popinitial_fixknots | R Documentation |
Initializes a population matrix for the fixed-knots GA. Each column is a feasible chromosome sampled by selectTau_uniform_exact.
Popinitial_fixknots(
popSize,
prange = NULL,
N,
minDist,
Pb,
mmax,
lmax,
fixedknots
)
popSize |
Integer; number of individuals (columns). |
prange |
Optional hyperparameter range (unused here). |
N |
Series length. |
minDist |
Integer minimum spacing between adjacent changepoints. |
Pb |
Unused placeholder (kept for compatibility). |
mmax, lmax |
Integers; maximum number of knots and chromosome length. |
fixedknots |
Integer; number of knots to place. |
Integer matrix of size lmax x popSize; each column is a
chromosome c(m, tau_1, ..., tau_m, N+1, ...).
selectTau_uniform_exact, gareg_knots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.