You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to raise a question. When I use Fit.Power, it returns NaN, but if I change the model to Polynomial, there is no such error. I want to know if there are any restrictions on the Power method. I analyzed the program step by step and found that NaN occurred in Power's LinearCombination. I hope to get your answer.
Here is my code: double[] y = y_data.ToArray(); double[] x = x_data.ToArray(); (double,double) powerFitResult = Fit.Power(x, y);
By the way, I normalized the data, will it make a difference?
The text was updated successfully, but these errors were encountered:
I would like to raise a question. When I use
Fit.Power
, it returns NaN, but if I change the model to Polynomial, there is no such error. I want to know if there are any restrictions on the Power method. I analyzed the program step by step and found that NaN occurred in Power'sLinearCombination
. I hope to get your answer.Here is my code:
double[] y = y_data.ToArray(); double[] x = x_data.ToArray(); (double,double) powerFitResult = Fit.Power(x, y);
By the way, I normalized the data, will it make a difference?
The text was updated successfully, but these errors were encountered: