Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

gmdistribution class -

Gaussian mixture models

Description

An object of the gmdistribution class defines a Gaussian mixture distribution, which is a multivariate distribution that consists of a mixture of one or more multivariate Gaussian distribution components. The number of components for a given gmdistribution object is fixed. Each multivariate Gaussian component is defined by its mean and covariance, and the mixture is defined by a vector of mixing proportions.

Construction

To create a Gaussian mixture distribution by specifying the distribution parameters, use the gmdistribution constructor. To fit a Gaussian mixture distribution model to data, use gmdistribution.fit.

fitGaussian mixture parameter estimates
gmdistributionConstruct Gaussian mixture distribution

Methods

cdfCumulative distribution function for Gaussian mixture distribution
clusterConstruct clusters from Gaussian mixture distribution
dispDisplay Gaussian mixture distribution object
displayDisplay Gaussian mixture distribution object
fitGaussian mixture parameter estimates
mahalMahalanobis distance to component means
pdfProbability density function for Gaussian mixture distribution
posteriorPosterior probabilities of components
randomRandom numbers from Gaussian mixture distribution
subsasgnSubscripted reference for Gaussian mixture distribution object
subsrefSubscripted reference for Gaussian mixture distribution object

Properties

All objects of the class have the properties listed in the following table.

CovTypeType of covariance matrices
DistNameType of distribution
MuInput matrix of means MU
NComponentsNumber k of mixture components
NDimensionsDimension d of multivariate Gaussian distributions
PComponentsInput vector of mixing proportions
SharedCovtrue if all covariance matrices are restricted to be the same
SigmaInput array of covariances

Objects constructed with fit have the additional properties listed in the following table.

AICAkaike Information Criterion
BICBayes Information Criterion
ConvergedDetermine if algorithm converged
ItersNumber of iterations
NlogLNegative of log-likelihood
RegVValue of 'Regularize' parameter

Copy Semantics

Value. To learn how this affects your use of the class, see Comparing Handle and Value Classes in the MATLAB Object-Oriented Programming documentation.

References

McLachlan, G., and D. Peel, Finite Mixture Models, John Wiley & Sons, New York, 2000.

See Also

Normal Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS