Problem while increasing the polynomial degree in the polynomial library #677
Replies: 2 comments 3 replies
-
|
Update: I replicated the example with the Lorenz system https://pysindy.readthedocs.io/en/stable/examples/5_differentiation/example.html in my laptop and I was able to get some results (the code shown in the website is a bit outdated, but it was easy to adapt it). The conditioning number of the matrices Theta in both cases, clean and noisy data, were around 1000, so it appears to me that the problem must lie somewhere else, but I'm not able no identify where yet. I'd be grateful for your help or guidance in this regard. Thank you!
|
Beta Was this translation helpful? Give feedback.
-
|
There's a few things that seemed to be going on when I ran your code.
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to apply the SINDy algorithm to the following ODE system:
A' = -A
B' = A - 0.5 * B
C' = 0.5 * B
with initial values (A_0, B_0, C_0) = (1,0,0):
After solving it numerically and adding some noise (0.01 variance), I try to win back the original model using PySINDy and the noisy data. The problem arises when I set the degree of the polynomial library to 2. Even with normalized columns, the resulting ODE system is nowhere close to the original. That doesn't happen if the degree is 1. A second difference between degree 1 and 2 is the conditioning number of the matrix Theta, which also increases a lot in the latter case.
The coefficients look like this:
Would you have any idea about the cause behind this behavior? Does the ODE system with initial conditions need to fulfill some conditions in order to apply PySINDy successfully? How would you tackle it?
Beta Was this translation helpful? Give feedback.
All reactions