Skip to content
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

The meaning of M in the test case and how to plot the solution after train. #24

Open
HuynhTran0301 opened this issue Feb 29, 2024 · 1 comment
Labels
question Further information is requested

Comments

@HuynhTran0301
Copy link

Question❓
I have run the test case in the repository. I have a question what is the meaning of M? Does it be a simulation duration? because the plot uses new_M for the x-axis. In addition, if M is the simulation duration when I tried to change M from 0.9 to 10 I got the error that DomainError with 1.001001001001001: asin(x) is not defined for |x| > 1.. If M is not the simulation duration, then how could I generate the solution after train and plot it?

Them you for your time.

@HuynhTran0301 HuynhTran0301 added the question Further information is requested label Feb 29, 2024
@VarLad
Copy link
Contributor

VarLad commented Sep 11, 2024

@HuynhTran0301 M is indeed duration. It has larger step value and smaller length. This was for training efficiently.

I used new_M, which is the same as M but better for plotting because of smaller step and larger length (so smoother plot), but not good for training.
You can still use M to plot the solution as well. The plot won't be as smooth but there's no issue with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants