Package org.hipparchus.fitting
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) \).
-
ClassDescriptionBase class that contains common code for fitting parametric univariate real functions
y = f(pi;x)
, wherex
is the independent variable and thepi
are the parameters.Vector function for computing function theoretical values.Fits points to aGaussian
function.Guesses the parametersnorm
,mean
, andsigma
of aGaussian.Parametric
based on the specified observed points.Fits points to aharmonic oscillator
function.This class guesses harmonic coefficients from a sample.Fits points to apolynomial
function.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 fitting
algorithms.