Giter VIP home page Giter VIP logo

pysindy's People

Contributors

daletovar avatar dependabot[bot] avatar luckystarufo avatar yic317 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pysindy's Issues

Problem with data file for example 3 notebook

I tried to run examples/example-3-sindypde-reactiondiffusion.ipynb but I get this error:

FileNotFoundError: [Errno 2] No such file or directory: '../datasets/reaction_diffusion.mat'

I noticed that there's a similar file with a .m extension so I renamed it to .mat but then I get a different error:

ValueError: Unknown mat file type, version 95, 116

Example line in README.md is broken

In the top level README.md the link entitled ISINDy example which points to
https://github.com/luckystarufo/pySINDy/blob/master/examples/example-4-isindy-xxx.ipynb is broken.

Bug with GeneralizedLibrary()

Hello!

I found some annoying bug with GeneralizedLibrary(), we may see this into Example 15.
When we use a 'tensor_array' it results in repeated features (see attached picture).
image

Then, if there are duplicate functions in the library, it may cause misidentification (see example):
image

The reason why it happens is pretty simple - because we use the bias term when build tensored library. From my point, it's needed to exclude the product of bias term with other terms from another feature library.

There is an obvious workarround: just do not use bias term with default library and use it as a single library.

Thank you!

pip install doesn't seem to work

[dacb@localhost ~/tmp]$ pip install pysindy
Collecting pysindy
  Could not find a version that satisfies the requirement pysindy (from versions: )
No matching distribution found for pysindy

PyPi package not complete

Hey there,

Just a tiny inconvenience:
downloading via pip does not download the PySINDy.utils folder. I added it manually

Import statements in Examples are wrong

When I tried to run the SINDy: Van Der Pol Oscillator example on my local machine the imports didn't work.
For example from pySINDy.sindy import SINDy should be from pysindy import SINDy
Besides that I couldnt figure out how from pySINDy.utils.generator import van_der_pol_generator

Installed PySINDy with pip install...

Noise in Derivative Matrix

In the paper, Discovering governing equations from data, and the Matlab code for the Lorenz Generator it seems there is a noise term added to the derivative matrix. However, I cannot find this in the Python code. Is noise added to the Python derivative matrix as well?

PySINDy are you listening? Installation errors .. Need help

import pysindy as ps
KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pkg_resources/init.py in requires(self, extras)
2738 try:
-> 2739 deps.extend(dm[safe_extra(ext)])
2740 except KeyError as e:

KeyError: 'alldeps'

The above exception was the direct cause of the following exception:

UnknownExtra Traceback (most recent call last)
6 frames
/usr/local/lib/python3.7/dist-packages/pkg_resources/init.py in requires(self, extras)
2741 raise UnknownExtra(
2742 "%s has no such extra feature %r" % (self, ext)
-> 2743 ) from e
2744 return deps
2745

UnknownExtra: scikit-learn 1.0.2 has no such extra feature 'alldeps'

Determining Variable Names from Data Array

When developing array in example 1, is it possible to determine all variable names from that array? I understand that fitting the model provides the variables it deems significant but is it possible to determine all variables corresponding to the derivatives in the data developed by the Van der Pol Generator?

Comments on Final

  1. Why are all of the methods in ISINDY static?
  2. You have some non-intuitive variable names, like _n in isinidy.py
  3. In generator.py, you have a lot of int constants that should be named constants, such as van_der_pol_generator(mu, x_init, dt=0.01, len_t=100):

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.