Open bao666liang opened 12 months ago
Hi,
Y_data
is a part of X_data
in this case, in this way we tell the model that it should map any input where $t=0$ to just the state $x_0$ (which is contained in [1:5] entry).I hope this clarifies everything for you.
Thank you so much for your detailed answer!! Therefore, what you mean is that this function is only used to generate initial conditions (because the dynamic equations are accurate enough), so in other words, when my dynamic equation is not accurate, the ydata of this function needs to be x k+1 (i.e. the true value of the next moment) instead of x_ k/x0. I don't know if my understanding is accurate?
Your code is really well written!! At the same time, I would like to ask about how the X and Y parameters (i.e. X_star and Y_star) in the data.npz file are generated? data.npz: ['X ','Y','U ','T','X0 ','X_test','Ytest ','ub','lb '] Are they using parameters obtained from real robotic arm operation or dynamic equations? If possible, could you please provide the code to generate the data.npz file? Also, according to the paper, I believe that x data=x k and y data=x k+1, but based on this code, y data is x k. Am I a bit confused? y data shouldn't be the predicted state for the next moment? There are a lot of questions, and if you could answer them, I would really, really, really appreciate it!!