Class TextbookSphericalGaussianModel

    • Field Detail

      • mean

        double[] mean
        Mean vector.
      • variance

        double variance
        Variances.
      • 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, for MAP estimation.
    • Constructor Detail

      • TextbookSphericalGaussianModel

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

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