Skip to content
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

[Feature]: Support for Full Time-Derivative Prediction (the Right Hand Side of System of ODEs) with Symbolic Regression #732

Open
rucky96 opened this issue Oct 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rucky96
Copy link

rucky96 commented Oct 11, 2024

Feature Request

Hi,

Thank you for your continued work on PySR! I’ve been interested lately in using PySR to model complex physical systems, specifically working on symbolic regression for time series.

I'm trying to predict the full set of time derivatives ( \frac{dV_i}{dt} ) for all variables ( V_i ). This is just a system of ODEs ( \frac{dV}{dt}= f(V) ). For example, a lorenz system, Rossler, harmonic oscillator... The current symbolic regression approach seems to handle one variable at a time, but for this case, the variables are interrelated. Thus, I need to handle the entire set of time derivatives across all modes simultaneously to apply (for example) conservation laws that I can include in the loss function.

Would it be possible to access to the whole prediction of the vector ( V)? Do you think this could be interesting to explore further? I'd be happy to discuss potential ideas and how this might fit into PySR’s future development.

Looking forward to your thoughts! Thanks again for all your efforts!

Best,
David

@rucky96 rucky96 added the enhancement New feature or request label Oct 11, 2024
@edfink234
Copy link

edfink234 commented Nov 5, 2024

Could PySindy do this? So $V$ is a vector a functions which you'd want to find such that $\frac{d\vec{V}}{dt} - \vec{f}(\vec{V}) \approx 0$. I developed a script here that does this but it's in C++ so not so user-friendly (but if you give me a specific use case you're interested in I could show you how to use it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants