GithubHelp home page GithubHelp logo

pswpswpsw / skdmd Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 8.0 13.86 MB

Sparsity-promoting Kernel Dynamic Mode Decomposition for Nonlinear Dynamical Systems

License: MIT License

Python 93.07% Shell 6.93%

skdmd's People

Contributors

pswpswpsw 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

Watchers

 avatar  avatar

skdmd's Issues

recostruction error too large

Dear Dr. Pan @pswpswpsw ,
My system has a simple nonlinear sine function. The hyperparam selection figure is as follows so that I choose rank=90 and sigma=4. But the reconstruction error plot looks very strange, and the error is also huge. My system is as follows:

def F_omib_2d_system(x):
    Pm = 1.2
    Pe = 1.6382
    Damp = 5
    w0 = np.math.pi*2*50
    TJ = 6

    F = np.zeros(x.shape)
    F[0] = x[1]
    F[1] = w0*(Pm - Pe*np.math.sin(x[0]) - Damp*x[1]/w0)/TJ

    return F

The phase space range is phase_space_range = [[-.2, 3], [-9.5, 9.5]]
All the other codes are exactly the same as the lusch example. Can you help provide some hints on how I can improve to get better results?
reConstr_decay_normalized_relative_eigen_error
result-num
top_20_normalized_relative_eigen_error

convergence warning when performing multi-task learning mode selection

Dear Dr. Pan @pswpswpsw ,
When I was trying out the multi-task learning mode selection with my own data, sklearn raised the convergence warning. It said you might want to increase the number of iterations. But my iteration is already 1e5 and it was really a very simple system. My data was generated using a 2-dimensional ODE, which was very similar to the example in 4.1. The different part is that I use feature tractories as training data. I randomly selected N initial point in the space and used RK45 to integrate along time, containing M+1 time steps. 1 to M data points were saved as X, and 2 to M+1 data points were saved as Xnext. So the number of rows of both X and Xnext is N*M, and the number of column is 2. So in my data generation code, X and Xnext were previously stored, unlike code line 70-71 in the cv_kdmd_hyp.py file. I don't know if that caused the convergence warning.

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.