Issue with STLSQ/SR3, weakPDELibrary, and coefficient interpretability #685
Replies: 2 comments
-
|
Hi, While I haven't used constrainedSR3 much, as I understand you have to be slightly careful about normalising when using constraints. For example, if you have x=y in your original data scaling, then if you normalise the data this equality will no longer be true or would have to be rescaled accordingly. I don't think SINDy does this automatically. If your problem is ill-conditioned then it depends what your input data looks like. If you have a lot of time-series or they're all highly correlated in time then it could be tricky to get the correct the true equations out, even with constraints. Also in my experience using weak SINDy you need to choose the integration window size (H_xt) depending on specific time-scales of your data. For instance, if it's too large you will simply average over all the interesting dynamics of your system and not get the correct equations. You might want to share the exact equations you're aiming for and someone could probably comment on what issues might arise. Sorry I can't really offer much on the Constrained SR3 side of things, but I have found constraining with MIOSR to be conceptually simpler as you don't have to choose parameters like |
Beta Was this translation helpful? Give feedback.
-
|
I echo what @royalasdaircoding mentioned around what the system you're trying to fit, and also about normalization with constraints. With the new
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm encountering some difficulties while using Pysindy, specifically with the STLSQ and SR3 optimizers in conjunction with weakPDELibrary, and I'm hoping for some guidance.
Here's a summary of my problem:
I'm currently working with an ODE system, but I've chosen to use weakPDELibrary because I anticipate extending this work to PDEs in the future. Moreover, I've found weakPDELibrary to be very effective in filtering noise, which is crucial for my data.
My goal is to obtain correct equations with physically interpretable coefficients. Has anyone faced similar issues, or could you provide insights into how to handle such large coefficients with constraintSR3 or overcome the ill-conditioning while maintaining physical interpretability?
Any advice would be greatly appreciated!
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions