Class GaussianParametersGuesser


  • public class GaussianParametersGuesser
    extends java.lang.Object
    Guesses the parameters (a, b, c, and d) of a ParametricGaussianFunction based on the specified observed points.
    Since:
    2.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double[] guess()
      Guesses the parameters based on the observed points.
      • Methods inherited from class java.lang.Object

        equals, 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}