高斯混合分布
拟合和计算高斯混合分布,生成该分布的随机样本
高斯混合分布是由多元高斯分布成分组成的多元分布。每个成分由其均值和协方差定义,混合体由混合比例向量定义。可通过对数据进行模型拟合 (fitgmdist
) 或通过指定参数值 (gmdistribution
) 来创建分布对象 gmdistribution
。然后使用对象函数执行聚类分析(cluster
、posterior
、mahal
)、计算分布(cdf
、pdf
),并生成随机变量 (random
)。
函数
主题
- Create Gaussian Mixture Model
Create a known, or fully specified, Gaussian mixture model (GMM) object.
- Fit Gaussian Mixture Model to Data
Simulate data from a multivariate normal distribution, and then fit a Gaussian mixture model (GMM) to the data.
- Simulate Data from Gaussian Mixture Model
Simulate data from a Gaussian mixture model (GMM) using a fully specified
gmdistribution
object and therandom
function. - Cluster Using Gaussian Mixture Model
Partition data into clusters with different sizes and correlation structures.