LDS_GA: Learn a linear dynamical system using Genetic Algorithm.

Description Usage Arguments Value

View source: R/LDS_GA.R

Description

Warning This is an experimental feature. Use with care.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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


ntthung/ldsr documentation built on Aug. 28, 2020, 2:34 a.m.