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'm using Svd decomposition to get the most acurate results, but on some datasets, this results in the polynomial parameters being infinity and NaN. On other datasets the fit works as expected.
Here's the code: double[] PolFitCoeff = Fit.Polynomial(XValues, YValues, 6, MathNet.Numerics.LinearRegression.DirectRegressionMethod.Svd);
As already posted on stackoverflow (https://stackoverflow.com/q/77803357/19921514) I'm having issues with 6th order polynomial fit of 100 datapoints.
I'm using Svd decomposition to get the most acurate results, but on some datasets, this results in the polynomial parameters being infinity and NaN. On other datasets the fit works as expected.
Here's the code:
double[] PolFitCoeff = Fit.Polynomial(XValues, YValues, 6, MathNet.Numerics.LinearRegression.DirectRegressionMethod.Svd);
and a few datasets:
The text was updated successfully, but these errors were encountered: