Comments (7)
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.
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.
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.
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.
Deep learning for universal linear embeddings of nonlinear dynamics.pdf
from pykoopman.
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.
thanks
from pykoopman.
Related Issues (20)
- Documentation typo HOT 1
- No module named optht HOT 2
- AttributeError: 'Koopman' object has no attribute 'V' HOT 2
- Question about the difference between the function named '_compute_phi' and '_compute_psi' HOT 2
- Fitting HOT 2
- PyKoopman for coupled PDEs HOT 1
- Bug in model.fit with timedelays HOT 4
- Running "Neural Network DMD on Slow Manifold" error HOT 1
- `pip install .` does not install dependencies HOT 1
- `python setup.py install` doesn't work HOT 1
- no version ranges for dependencies HOT 4
- You must include `torch` in your setup.py (and `requirements.txt`) if you import torch in the pykoopman package HOT 1
- Installation issue with python 3.12 HOT 3
- NAN issues
- How to save and load the regressor or model? HOT 3
- Changing time step in `simulate`
- Other norms for fitting? (feature request)
- The predicted derivative.
- nndmd 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 pykoopman.