Class SphericalGaussianModel

    • Field Detail

      • SINGULARITY_CHEAT

        private static final double SINGULARITY_CHEAT
        Constant to avoid zero values.
        See Also:
        Constant Field Values
      • mean

        double[] mean
        Mean vector.
      • variance

        double variance
        Single variances for all dimensions.
      • nmea

        double[] nmea
        Temporary storage, to avoid reallocations.
      • logNorm

        double logNorm
        Normalization factor.
      • logNormDet

        double logNormDet
        Normalization factor.
      • weight

        double weight
        Weight aggregation sum.
      • wsum

        double wsum
        Weight aggregation sum.
      • priorvar

        double priorvar
        Prior variance.
    • Constructor Detail

      • SphericalGaussianModel

        public SphericalGaussianModel​(double weight,
                                      double[] mean)
        Constructor.
        Parameters:
        weight - Cluster weight
        mean - Initial mean
      • SphericalGaussianModel

        public SphericalGaussianModel​(double weight,
                                      double[] mean,
                                      double var)
        Constructor.
        Parameters:
        weight - Cluster weight
        mean - Initial mean
        var - Initial variance