Package org.apache.commons.math3.fitting
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) \).
-
ClassesClassDescriptionBase class that contains common code for fitting parametric univariate real functions
y = f(pi;x), wherexis the independent variable and thepiare the parameters.Vector function for computing function theoretical values.CurveFitter<T extends ParametricUnivariateFunction>Deprecated.As of 3.3.Fits points to aGaussianfunction.Guesses the parametersnorm,mean, andsigmaof aGaussian.Parametricbased on the specified observed points.Deprecated.As of 3.3.Guesses the parametersnorm,mean, andsigmaof aGaussian.Parametricbased on the specified observed points.Fits points to aharmonic oscillatorfunction.This class guesses harmonic coefficients from a sample.Deprecated.As of 3.3.This class guesses harmonic coefficients from a sample.Fits points to apolynomialfunction.Deprecated.As of 3.3.Fits points to a user-definedfunction.This class is a simple container for weighted observed point incurve fitting.Simple container for weighted observed points used incurve fittingalgorithms.