GithubHelp home page GithubHelp logo

Comments (5)

kpchamp avatar kpchamp commented on August 18, 2024

I don't believe this has been built into the package yet, but you may want to check out this paper and associated code package which has more information on using SINDy for rational functions.

from pysindy.

divgup avatar divgup commented on August 18, 2024

Thanks for your reply. I have read the paper and Sindy-PI implementation in MATLAB. I wanted an implementation in python, but I didn't find any. So now I'm thinking of implementing some functions in python for identifying rational functions.

from pysindy.

briandesilva avatar briandesilva commented on August 18, 2024

The creator of SINDy-PI, Kadierdan, previously expressed interest in contributing a SINDy-PI implementation to PySINDy a few months ago, but I'm not sure if he's still planning on doing so.

from pysindy.

akaptano avatar akaptano commented on August 18, 2024

Some progress on this... I have started a new sindy-pi branch that has a rough version of SINDy-PI implemented. The main issue is that the "full, constrained version" of SINDy-PI is implemented (Equation 3.7 in Kadierdan's paper), which scales poorly with the size of the SINDy library since Xi is of size p x p, and p (the size of the SINDy library) already scales combinatorically in the number of input features. So even at 4D models I am beginning to see out-of-memory errors. The solution is to parallelize this process, and then reduce at the end to a single set of coefficients that is the best fit. I want to discuss with @briandesilva about what would be the best option for this; we may also want to discuss with Kadierdan.

from pysindy.

akaptano avatar akaptano commented on August 18, 2024

SINDy-PI is implemented under the sindypi branch of this github repo, hopefully to be integrated into the main branch shortly. In 9_sindypi_examples.ipynb you can find a simple use case. I found that more difficult cases require multiple_trajectories=True, with lots and lots of training data, for convergence, so be warned. The documentation should also improve in the next few weeks, but reach out if you are having serious trouble using the method.

from pysindy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.