Package org.hipparchus.fitting
Class GaussianCurveFitter.ParameterGuesser
java.lang.Object
org.hipparchus.fitting.GaussianCurveFitter.ParameterGuesser
- Enclosing class:
 GaussianCurveFitter
Guesses the parameters 
norm, mean, and sigma
 of a Gaussian.Parametric
 based on the specified observed points.- 
Constructor Summary
ConstructorsConstructorDescriptionParameterGuesser(Collection<WeightedObservedPoint> observations) Constructs instance with the specified observed points. - 
Method Summary
 
- 
Constructor Details
- 
ParameterGuesser
Constructs instance with the specified observed points.- Parameters:
 observations- Observed points from which to guess the parameters of the Gaussian.- Throws:
 NullArgumentException- ifobservationsisnull.MathIllegalArgumentException- if there are less than 3 observations.
 
 - 
 - 
Method Details
- 
guess
public double[] guess()Gets an estimation of the parameters.- Returns:
 - the guessed parameters, in the following order:
 
- Normalization factor
 - Mean
 - Standard deviation
 
 
 
 -