Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2
-
None
-
None
-
All
Description
org.apache.commons.math3.fitting.PolynomialFitter
should be implemented using linear least-squares method like QR decomposition solver.
There are several reasons for this
1) Nonlinear methods are much slower
2) Linear methods (QR and SVD) are numerically more stable.
3) By storing the QR decomposition it is possible to recompute the solution for different input data values.
See
http://mathworld.wolfram.com/LeastSquaresFittingPolynomial.html