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 Object
Guesses 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.
-
-
-
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.
-
-