-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inputs and States #71
Comments
@Abdu-Hekal This is an interesting point. I agree for KIC with constant inputs you should not need that last state. However, there are formulations that would need the extra input, see Proctor, J. L., Brunton, S. L., & Kutz, J. N. (2018). Generalizing Koopman theory to allow for inputs and control. SIAM Journal on Applied Dynamical Systems, 17(1), 909-930, equation 3.7a. Because of this, I felt that the Trajectories object should allow the number of inputs to equal the number of states to allow users to treat them as states if they want. |
On the |
@Abdu-Hekal is this issue still relevant? Has it been detrimental to your work? |
When training, the number of inputs needs to be equal to the number of states. It seems to me that for n states, we should have n-1 inputs (last state doesn't have input). This also applies when running koopman where to output n states we should have an array teval of length n-1 instead of n.
The text was updated successfully, but these errors were encountered: