Base class that contains common code for fitting parametric univariate real functions
y = f(pi;x)
, where {@code x} isthe independent variable and the
pi
are the
parameters.
A fitter will find the optimal values of the parameters by
fitting the curve so it remains very close to a set of {@code N} observed points
(xk, yk)
,{@code 0 <= k < N}.
An algorithm usually performs the fit by finding the parameter values that minimizes the objective function
∑yk - f(xk)2,
which is actually a least-squares problem. This class contains boilerplate code for calling the {@link #fit(Collection)} method for obtaining the parameters.The problem setup, such as the choice of optimization algorithm for fitting a specific function is delegated to subclasses.
@since 3.3