Documentation of 'org.ddogleg.clustering.gmm.GaussianGmm_F64' Java class
GaussianGmm_F64
org.ddogleg.clustering.gmm

Class GaussianGmm_F64

  • All Implemented Interfaces:
    java.io.Serializable


    public class GaussianGmm_F64
    extends java.lang.Object
    implements java.io.Serializable
    A Gaussian in a Gaussian Mixture Model. Contains a mean, covariance, and weight. Additional functions are provided to help compute the Gaussian's parameters.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      org.ejml.data.DenseMatrix64F covariance 
      org.ejml.data.DenseMatrix64F mean 
      double weight 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addCovariance(double[] difference, double responsibility)
      Helper function for computing Gaussian parameters.
      void addMean(double[] point, double responsibility)
      Helper function for computing Gaussian parameters.
      GaussianGmm_F64 copy() 
      org.ejml.data.DenseMatrix64F getCovariance() 
      org.ejml.data.DenseMatrix64F getMean() 
      double getWeight() 
      void setCovariance(org.ejml.data.DenseMatrix64F covariance) 
      void setMean(org.ejml.data.DenseMatrix64F mean) 
      void setMean(double[] point)
      Sets the mean to be the same as the provided point\
      void setWeight(double weight) 
      void zero()
      Sets the mean, covariance, and weight to zero
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mean

        public org.ejml.data.DenseMatrix64F mean
      • covariance

        public org.ejml.data.DenseMatrix64F covariance
      • weight

        public double weight
    • Constructor Detail

      • GaussianGmm_F64

        public GaussianGmm_F64(int DOF)
        Declares internal data strucures
        Parameters:
        DOF - Number of degrees-of-freedom in the sampled points.
      • GaussianGmm_F64

        public GaussianGmm_F64()
    • Method Detail

      • zero

        public void zero()
        Sets the mean, covariance, and weight to zero
      • addMean

        public void addMean(double[] point,
                            double responsibility)
        Helper function for computing Gaussian parameters. Adds the point to mean and weight.
      • addCovariance

        public void addCovariance(double[] difference,
                                  double responsibility)
        Helper function for computing Gaussian parameters. Adds the difference between point and mean to covariance, adjusted by the weight.
      • setMean

        public void setMean(double[] point)
        Sets the mean to be the same as the provided point\
      • getMean

        public org.ejml.data.DenseMatrix64F getMean()
      • setMean

        public void setMean(org.ejml.data.DenseMatrix64F mean)
      • getCovariance

        public org.ejml.data.DenseMatrix64F getCovariance()
      • setCovariance

        public void setCovariance(org.ejml.data.DenseMatrix64F covariance)
      • getWeight

        public double getWeight()
      • setWeight

        public void setWeight(double weight)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.