Deprecated
As of 3.3. Please use PolynomialCurveFitter and
WeightedObservedPoints instead.
curve fitting.
The estimated coefficients are the polynomial coefficients (see the
fit method).
| Access | Constructor and Description |
|---|---|
| public | PolynomialFitter(MultivariateVectorOptimizer
Optimizer to use for the fitting. optimizer)
Deprecated
as a consequence of
MultivariateVectorOptimizer being deprecated.
Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public double[] | Returns: the coefficients of the polynomial that best fits the observed points.Maximum number of evaluations of the polynomial. maxEval, double[] First guess for the coefficients. They must be sorted in
increasing order of the polynomial's degree. guess)Overrides org. Get the coefficients of the polynomial fitting the weighted data points. |
| public double[] | Returns: the coefficients of the polynomial that best fits the observed points.First guess for the coefficients. They must be sorted in
increasing order of the polynomial's degree. guess)Get the coefficients of the polynomial fitting the weighted data points. |
| PolynomialFitter | back to summary |
|---|---|
| public PolynomialFitter(MultivariateVectorOptimizer optimizer)
Deprecated as a consequence of Simple constructor.
| |
| fit | back to summary |
|---|---|
| public double[] fit(int maxEval, double[] guess) Overrides org. Get the coefficients of the polynomial fitting the weighted data points.
The degree of the fitting polynomial is
| |
| fit | back to summary |
|---|---|
| public double[] fit(double[] guess) Get the coefficients of the polynomial fitting the weighted data points.
The degree of the fitting polynomial is
| |