Package org.hipparchus.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 Class Description AbstractCurveFitter Base class that contains common code for fitting parametric univariate real functionsy = f(pi;x)
, wherex
is the independent variable and thepi
are the parameters.AbstractCurveFitter.TheoreticalValuesFunction Vector function for computing function theoretical values.GaussianCurveFitter Fits points to aGaussian
function.GaussianCurveFitter.ParameterGuesser Guesses the parametersnorm
,mean
, andsigma
of aGaussian.Parametric
based on the specified observed points.HarmonicCurveFitter Fits points to aharmonic oscillator
function.HarmonicCurveFitter.ParameterGuesser This class guesses harmonic coefficients from a sample.PolynomialCurveFitter Fits points to apolynomial
function.SimpleCurveFitter Fits points to a user-definedfunction
.WeightedObservedPoint This class is a simple container for weighted observed point incurve fitting
.WeightedObservedPoints Simple container for weighted observed points used incurve fitting
algorithms.