-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we add derivative with respect to time in feature library ? #136
Comments
Hi Ahmad, if x_dot is in the feature library then you are solving for a system of implicit ODEs that looks like |
Thank you so much for your reply. I didn't know about this article (
https://royalsocietypublishing.org/doi/pdf/10.1098/rspa.2020.0279). Thanks
for sharing.
I am looking forward to new release of pysindy
…On Thu, Dec 2, 2021 at 10:14 PM Alan Kaptanoglu ***@***.***> wrote:
Hi Ahmad, if x_dot is in the feature library then you are solving for a
system of implicit ODEs that looks like
x_dot = f(x, x_dot), which the normal SINDy method is not appropriate for.
Fortunately, we have implemented the SINDy-PI library (and associated
optimizer) in the upcoming PySINDy release, which does address these types
of systems (
https://royalsocietypublishing.org/doi/pdf/10.1098/rspa.2020.0279). The
new release will be out within a week or so, and I'll let you know when
that happens. The new Example 9 Jupyter notebook will show how you can use
the SINDy-PI functionality.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMRWFELHLJ3CUCMIHFMFPRTUO6SOFANCNFSM5JGSPQVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
You may also find this recent video very illuminating https://www.youtube.com/watch?v=sP8JXF9_wAs I'm happy to answer any questions you have about using the new SINDy-PI functionality once the new release is out (there will likely be some bugs to iron out!) |
Ahmad, I should have mentioned there is a second way that you can already do this, although it is kind of a hack. Before making a SINDy model you can differentiate [x, y, z] and put all the variables together [x, y, z, x_dot, y_dot, z_dot] and use this as your data. Then if you are using a polynomial library or something, polynomials in x_dot, y_dot, and z_dot will also be generated. The downside is that SINDy will also try to fit models to x_dot, y_dot, and z_dot, but you can ignore these. |
SINDy-PI is now implemented in the new release v1.5, so closing this for now. Feel free to reopen this if you have any issues. |
automatic PyPI upload, bugfixes, doc updates
How can we add derivative with respect to time in feature library ?
lets say if we have three state variables x,y,z then how to add x_dot in feature library ..
i am struggling with this one .. please let me know if there is any solution
The text was updated successfully, but these errors were encountered: