Package samer.models

Class GaussianStatsOnline

  • All Implemented Interfaces:
    SafeTask, Task


    public class GaussianStatsOnline
    extends GaussianStats
    Similar to GaussianStats: Collect statistics about a vector: accumulates sums and sums of products, then computes mean and covariance. This is NOT a model! Computing energies and probabilities directly from the first and second moments is horrible, since you need the inverse of the covariance matrix. You could, however, use this to train a Gaussian model. BUT uses a moving average with a learning rate to track changes
    See Also:
    Serialized Form
    • Constructor Detail

      • GaussianStatsOnline

        public GaussianStatsOnline(VVector vec)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception