Comments (5)
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.
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.
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.
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.
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)
- Implementation of graph data HOT 7
- Issue in plotting the graph using model.simulate HOT 1
- Total freedom in library functions with CustomLibrary HOT 1
- SINDy-PI for a system of ODEs
- simulating error(overflow) when expanded to the third order HOT 3
- [BUG] A lot of issues with the bayesian implementation (UQ-SINDy) HOT 3
- [BUG] No consistency in model.fit() HOT 8
- SINDy-PI/ one state derivative per model HOT 3
- Modeling Issues with Using Ensemble Methods HOT 1
- differentiation for cylindrical coordinate HOT 1
- There is a significant divergence between the model based on experimental data and the analytical solution HOT 1
- Can not import pysindy after installation HOT 8
- [BUG] SmoothedFiniteDifference does not have 'save_smooth' HOT 1
- [BUG] SSR optimizer always picks the first model it generates HOT 1
- [BUG] bad shape of model.coefficients() when using Lasso sklearn optimizer HOT 1
- Extracting dynamics and faster simulation HOT 2
- [BUG] 'PolynomialLibrary' object has no attribute 'calc_trajectory' HOT 1
- Feature library does not obey the set inputs_per_library [BUG] HOT 1
- Optimizer parameters validation improvement HOT 1
- [BUG] Parameter Carryover in `SINDyDerivative` from `set_params`. (And a minor dependency conflict with the default Google colab runtime) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysindy.