pool_data | R Documentation |
Pooling function for construction of the library of potential right hand-side candidate functions as shown in the SINDy algorithm in "Discovering governing equations from data: Sparse identification of nonlinear dynamical systems" (Brunton, Proctor, & Kutz, 2016).
pool_data(yIn, nVars, polyOrder, useSine)
yIn |
A matrix/data frame of time-dependent variables. |
nVars |
An integer that indicates the number of variables. |
polyOrder |
An integer from 0 to 5 indicating the highest degree of polynomials included in the matrix of candidate functions. |
useSine |
A logical value indicating whether sine and cosine functions
of variables should be added to the library of potential candidate functions.
If TRUE, candidate function matrix is augmented with sine and cosine functions
of integer multiples 1 through 10 of all the variables in |
A matrix of candidate functions.
Brunton, S. L., Proctor, J. L., & Kutz, J. N. (2016). Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proceedings of the National Academy of Sciences, 113(15), 3932-3937.
## Not run:
pool_data(yIn, nVars, polyOrder, useSine)
pool_data(yIn, 15, 5, TRUE)
pool_data(yIn, 3, 1, 0)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.