# Package org.apache.commons.math3.optimization.fitting

This package provides classes to perform curve fitting.

See: Description

- Class Summary
  Class | Description
  --- | ---
  CurveFitter<T extends ParametricUnivariateFunction> | Deprecated As of 3.1 (to be removed in 4.0).
  GaussianFitter | Deprecated As of 3.1 (to be removed in 4.0).
  GaussianFitter.ParameterGuesser | Guesses the parameters `norm`, `mean`, and `sigma` of a `Gaussian.Parametric` based on the specified observed points.
  HarmonicFitter | Deprecated As of 3.1 (to be removed in 4.0).
  HarmonicFitter.ParameterGuesser | This class guesses harmonic coefficients from a sample.
  PolynomialFitter | Deprecated As of 3.1 (to be removed in 4.0).
  WeightedObservedPoint | Deprecated As of 3.1 (to be removed in 4.0).

## Package org.apache.commons.math3.optimization.fitting Description

This package provides classes to perform curve fitting.

Curve fitting is a special case of a least squares problem were the parameters are the coefficients of a function `f` whose graph `y=f(x)` should pass through sample points, and were the objective function is the squared sum of residuals `f(xi)-yi` for observed points (xi, yi).

Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.