org.apache.commons.math.optimization.fitting
Class GaussianFitter.ParameterGuesser

java.lang.Object
  extended by org.apache.commons.math.optimization.fitting.GaussianFitter.ParameterGuesser
Enclosing class:
GaussianFitter

public static class GaussianFitter.ParameterGuesser
extends java.lang.Object

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


Constructor Summary
GaussianFitter.ParameterGuesser(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

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-2011 The Apache Software Foundation. All Rights Reserved.