Package org.apache.commons.math3.fitting
Class GaussianFitter.ParameterGuesser
- java.lang.Object
-
- org.apache.commons.math3.fitting.GaussianFitter.ParameterGuesser
-
- Enclosing class:
- GaussianFitter
public static class GaussianFitter.ParameterGuesser extends java.lang.ObjectGuesses the parametersnorm,mean, andsigmaof aGaussian.Parametricbased on the specified observed points.
-
-
Constructor Summary
Constructors Constructor Description ParameterGuesser(WeightedObservedPoint[] observations)Constructs instance with the specified observed points.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]guess()Gets an estimation of the parameters.
-
-
-
Constructor Detail
-
ParameterGuesser
public ParameterGuesser(WeightedObservedPoint[] observations)
Constructs instance with the specified observed points.- Parameters:
observations- Observed points from which to guess the parameters of the Gaussian.- Throws:
NullArgumentException- ifobservationsisnull.NumberIsTooSmallException- if there are less than 3 observations.
-
-