Replies: 5 comments 11 replies
-
Yeah, you didn't label your plots |
Beta Was this translation helpful? Give feedback.
-
The control inputs are quite varied, their coefficients are not 0, and the derivative has a good fit. |
Beta Was this translation helpful? Give feedback.
-
There's two issues here. First, your system doesn't really have any controls. Controls are typically variables that aren't related to the variable of interest, or at least aren't well understood. Calculating the controls from the SVD of your variable of interest is not going to be useful. Secondly, even if your control matrix C1 was not related to Xa, and you wanted to use the SVD, you would choose Finally, |
Beta Was this translation helpful? Give feedback.
-
It's not what's happening with the controls in my real system. Pysindy should (and does) provide a perfect fit for controls = state[1:], so it just makes it easier to see what else is going on. Regressing on Full_matrices = True gives less variance in the coefficients over time in the real system. Changing to =False does solve the problem here, though unfortunately it doesn't for my real system. |
Beta Was this translation helpful? Give feedback.
-
Thanks, that makes sense. I could only find univariate implementations of mutual information and Cao's FNN in python. Not a pysindy question at all in the end, but if you're aware of any multivariate implementations of other good methods to find tau and delay embedding, please let me know. |
Beta Was this translation helpful? Give feedback.
-
I get a perfect fit on my derivative using SindyC. However, when I simulate forwards, the prediction is not good. Changing regularization doesn't seem to have an impact here. Reducing the threshold does help to regularise but the predictions are still too flat. I do need to simulate forwards.
difference between model.differentiate and model.predict:
simulation:
It's easier to see what's happening if I include more components of the PCA:
Any idea what's going wrong?
Beta Was this translation helpful? Give feedback.
All reactions