|
Here is the code for this example: Run the above code, and the following error will be got: Is it a bug or something wrong with my code or data? |
Answered by
LSchueler
Oct 23, 2023
Replies: 1 comment
|
Hi Jimmy-KL, I'm very sorry for the late reply. |
0 replies
Answer selected by
Jimmy-KL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Jimmy-KL,
I'm very sorry for the late reply.
I think the variance of your values is too small, which leads to divisions by zero. I just manually doubled some of the values in your example and set some to nearly zero and the script successfully finds the parameters.