MixtureMultivariateNormalDistribution
org.apache.commons.math3.distribution

Class MixtureMultivariateNormalDistribution

    • Constructor Detail

      • MixtureMultivariateNormalDistribution

        public MixtureMultivariateNormalDistribution(double[] weights,                                     double[][] means,                                     double[][][] covariances)
        Creates a multivariate normal mixture distribution.
        Parameters:
        weights - Weights of each component.
        means - Mean vector for each component.
        covariances - Covariance matrix for each component.
      • MixtureMultivariateNormalDistribution

        public MixtureMultivariateNormalDistribution(List<Pair<Double,MultivariateNormalDistribution>> components)
        Creates a mixture model from a list of distributions and their associated weights.
        Parameters:
        components - List of (weight, distribution) pairs from which to sample.

SCaVis 2.1 © jWork.ORG