Package org.apache.commons.math3.fitting
Class GaussianCurveFitter.ParameterGuesser
- java.lang.Object
-
- org.apache.commons.math3.fitting.GaussianCurveFitter.ParameterGuesser
-
- Enclosing class:
- GaussianCurveFitter
public static class GaussianCurveFitter.ParameterGuesser extends java.lang.ObjectGuesses the parametersnorm,mean, andsigmaof aGaussian.Parametricbased on the specified observed points.
-
-
Constructor Summary
Constructors Constructor Description ParameterGuesser(java.util.Collection<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(java.util.Collection<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.
-
-