Git Product home page Git Product logo

Comments (7)

pswpswpsw avatar pswpswpsw commented on July 28, 2024

So basically for decoder, you must use linear. Because otherwise the concept of Koopman modes is gone. Since this package is designed only for Koopman operator, not Koopman-inspired etc, we decided to discourage the use of nonlinear decoder.

from pykoopman.

Dionysus7777777 avatar Dionysus7777777 commented on July 28, 2024

So in Koopman theory, do all activation functions of neural networks have to be linear? In my previous understanding, only the Koopman operator layer needs to be linear; the activation functions of the encoder and decoder do not necessarily need to be linear.

from pykoopman.

pswpswpsw avatar pswpswpsw commented on July 28, 2024

So in Koopman theory, do all activation functions of neural networks have to be linear? In my previous understanding, only the Koopman operator layer needs to be linear; the activation functions of the encoder and decoder do not necessarily need to be linear.

Koopman theory has nothing to do with neural network. But the entire idea of Koopman modes are only for the observables that can be spanned (i.e., linear weighted sum) by eigenfunctions. So you need the decoder in the neural network to be linear in order to not break the idea of Koopman modes.

from pykoopman.

Dionysus7777777 avatar Dionysus7777777 commented on July 28, 2024

I apologize for the discrepancy in our understandings. I believe that using a nonlinear activation function in the decoder does not necessarily violate the Koopman theory. This is because the encoder and decoder are simply employed to obtain the Koopman operator through neural network methods. As you mentioned, Koopman theory is independent of neural networks, and therefore not strictly limited to linear methods. I have read some relevant papers that seem to support my perspective. You may refer to the paper "Deep learning for universal linear embeddings of nonlinear dynamics" by Bethany Lusch et al., which appears to use ReLU as an activation function. The issue I encountered while using your package seems to be related to this step. As I am just a university student, there may be some errors in my viewpoints, so I sincerely seek your guidance on this matter. Thank you for your time and response.

from pykoopman.

Dionysus7777777 avatar Dionysus7777777 commented on July 28, 2024

Deep learning for universal linear embeddings of nonlinear dynamics.pdf

from pykoopman.

pswpswpsw avatar pswpswpsw commented on July 28, 2024

Linear embedding is not the same as learning an invariant subspace that spans the state. I also had a published paper using nonlinear decoder, but I always say that's linear embedding, not to confuse with the classical approximation of Koopman operator.

from pykoopman.

Dionysus7777777 avatar Dionysus7777777 commented on July 28, 2024

thanks

from pykoopman.

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.