View source: R/par_sparsify_dynamics.R
par_sparsify_dynamics | R Documentation |
Sparsification function based on sequential thresholded least-squares as shown in the SINDy algorithm in "Discovering governing equations from data: Sparse identification of nonlinear dynamical systems" (Brunton, Proctor, & Kutz, 2016).
par_sparsify_dynamics(Theta, dXdt, lambda, loops)
Theta |
A matrix of candidate functions. |
dXdt |
A matrix of first order derivatives of the variables of interest with respect to time. |
lambda |
A numeric value; sparsification threshold. |
loops |
ADD DESCRIPTION |
A matrix of sparse coefficients.
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:
sparsify_dynamics(Theta, dXdt, lambda, n)
sparsify_dynamics(Theta, dXdt, 0.1, 10)
sparsify_dynamics(pool_data(yIn, 15, 5, TRUE), dXdt, 0, 15)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.