Package org.hipparchus.fitting
Class GaussianCurveFitter.ParameterGuesser
- java.lang.Object
-
- org.hipparchus.fitting.GaussianCurveFitter.ParameterGuesser
-
- Enclosing class:
- GaussianCurveFitter
public static class GaussianCurveFitter.ParameterGuesser extends Object
Guesses the parametersnorm,mean, andsigmaof aGaussian.Parametricbased on the specified observed points.
-
-
Constructor Summary
Constructors Constructor Description ParameterGuesser(Collection<WeightedObservedPoint> observations)Constructs instance with the specified observed points.
-
-
-
Constructor Detail
-
ParameterGuesser
public ParameterGuesser(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.MathIllegalArgumentException- if there are less than 3 observations.
-
-