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

package org.apache.commons.math3.optimization.fitting
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).

Related Packages
Package
Description
org.apache.commons.math3.optimization
All classes and sub-packages of this package are deprecated.
org.apache.commons.math3.optimization.direct
This package provides optimization algorithms that don't require derivatives.
org.apache.commons.math3.optimization.general
This package provides optimization algorithms that require derivatives.
org.apache.commons.math3.optimization.linear
This package provides optimization algorithms for linear constrained problems.
org.apache.commons.math3.optimization.univariate
Univariate real functions minimum finding algorithms.
Classes
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).