LDS_GA {ldsr} | R Documentation |
Learn a linear dynamical system using Genetic Algorithm.
Description
Warning This is an experimental feature. Use with care.
Usage
LDS_GA(
y,
u,
v,
lambda = 1,
ub,
lb,
num.islands = 4,
pop.per.island = 100,
niter = 1000,
parallel = TRUE
)
Arguments
y |
Transformed and standardized streamflow |
u |
Input matrix for a single-model reconstruction, or a list of input matrices for an ensemble reconstruction. |
v |
Same as u. |
lambda |
weight for penalty |
ub |
Upper bounds, a vector whose length is the number of parameters |
lb |
Lower bounds |
num.islands |
Number of islands (if method is GA; experimental) |
pop.per.island |
Initial population per island (if method is GA; experimental) |
niter |
Maximum number of iterations, default 1000 |
parallel |
Logical, whether parallel computation is used |
Value
A list of reconstruction results; see LDS_reconstruction
[Package ldsr version 0.0.2 Index]