Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.math.optimization.fitting
Class GaussianParametersGuesser

    java.lang.Object
      org.apache.commons.math.optimization.fitting.GaussianParametersGuesser

    public class GaussianParametersGuesser

extends Object

Guesses the parameters (`a`, `b`, `c`, and `d`) of a `ParametricGaussianFunction` based on the specified observed points.

Since:
  2.2
Version:
  $Revision: 983921 $ $Date: 2010-08-10 12:46:06 +0200 (mar. 10 aoÃ»t 2010) $

Constructor Summary
`GaussianParametersGuesser(WeightedObservedPoint[] observations)` Constructs instance with the specified observed points.

Method Summary
`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

### GaussianParametersGuesser

    public GaussianParametersGuesser(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:
    guessed parameters array `{a, b, c, d}`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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