org.apache.commons.math3.optimization.fitting

## Class GaussianFitter.ParameterGuesser

- java.lang.Object
- - org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser

- Enclosing class:
    GaussianFitter

      public static class GaussianFitter.ParameterGuesser
      extends Object

  Guesses the parameters `norm`, `mean`, and `sigma` of a `Gaussian.Parametric` based on the specified observed points.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GaussianFitter.ParameterGuesser(WeightedObservedPoint[] observations)` Constructs instance with the specified observed points.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double[]` | `guess()` Guesses the parameters based on the observed points.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GaussianFitter.ParameterGuesser

          public GaussianFitter.ParameterGuesser(WeightedObservedPoint[] observations)

      Constructs instance with the specified observed points.
      Parameters:
        `observations` - observed points upon which should base guess

  - ### Method Detail

    - #### guess

          public double[] guess()

      Guesses the parameters based on the observed points.
      Returns:
        the guessed parameters: norm, mean and sigma.

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.