Package org.hipparchus.optim.nonlinear.vector.leastsquares


package org.hipparchus.optim.nonlinear.vector.leastsquares
This package provides algorithms that minimize the residuals between observations and model values. The least-squares optimizers minimize the distance (called cost or χ2) between model and observations.
Algorithms in this category need access to a problem (represented by a LeastSquaresProblem). Such a model predicts a set of values which the algorithm tries to match with a set of given set of observed values.
The problem can be created progressively using a builder or it can be created at once using a factory.