Class CurveFitter<T extends ParametricUnivariateFunction>

  • Type Parameters:
    T - Function to use for the fit.
    Direct Known Subclasses:
    GaussianFitter, HarmonicFitter, PolynomialFitter

    @Deprecated
    public class CurveFitter<T extends ParametricUnivariateFunction>
    extends java.lang.Object
    Deprecated.
    As of 3.3. Please use AbstractCurveFitter and WeightedObservedPoints instead.
    Fitter for parametric univariate real functions y = f(x).
    When a univariate real function y = f(x) does depend on some unknown parameters p0, p1 ... pn-1, this class can be used to find these parameters. It does this by fitting the curve so it remains very close to a set of observed points (x0, y0), (x1, y1) ... (xk-1, yk-1). This fitting is done by finding the parameters values that minimizes the objective function ∑(yi-f(xi))2. This is really a least squares problem.
    Since:
    2.0