Top Description Classes
[default module]

Package org.apache.commons.math3.fitting


Classes to perform curve fitting. Curve fitting is a special case of a least-squares problem where 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 the residuals \( f(x_i) - y_i \) for observed points \( (x_i, y_i) \).

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractCurveFitter

Base class that contains common code for fitting parametric univariate real functions y = f(pi;x), where x is the independent variable and the pi are the parameters.

public class
CurveFitter<
Function to use for the fit.
T extends ParametricUnivariateFunction
>

Deprecated As of 3.3.
Fitter for parametric univariate real functions y = f(x).
public class
GaussianCurveFitter

Fits points to a Gaussian function.

public class
GaussianFitter

Deprecated As of 3.3.
Fits points to a Gaussian function.
public class
HarmonicCurveFitter

Fits points to a harmonic oscillator function.

public class
HarmonicFitter

Deprecated As of 3.3.
Class that implements a curve fitting specialized for sinusoids.
public class
PolynomialCurveFitter

Fits points to a polynomial function.

public class
PolynomialFitter

Deprecated As of 3.3.
Polynomial fitting is a very simple case of curve fitting.
public class
SimpleCurveFitter

Fits points to a user-defined function.

public class
WeightedObservedPoint

This class is a simple container for weighted observed point in curve fitting.

public class
WeightedObservedPoints

Simple container for weighted observed points used in curve fitting algorithms.