文件名称:em算法matlab代码-EM_GMM:使用EM算法拟合高斯混合模型的代码
文件大小:36KB
文件格式:ZIP
更新时间:2024-06-15 11:07:49
系统开源
em算法matlab代码EM_GMM Matlab代码使用EM算法拟合高斯混合模型(GMM) 如何使用代码 使用以下方法安装GMM: P = trainGMM(data,numComponents,maxIter,needDiag,printLikelihood) 参数: data - a NxP matrix where the rows are points and the columns are variables. e.g. N 2-D points would have N rows and 2 columns numComponents - the number of gaussian mixture components maxIter - the number of iterations to run expectation-maximization (EM) for fitting the GMMs needDiag - set as 1 if you want diagonal covariance matrices for the components. Set
【文件预览】:
EM_GMM-master
----visualize2DGaussians.m(1KB)
----exampleImg()
--------GMMOnSineWave.png(29KB)
----logsumexp.m(369B)
----visualizeFit.m(923B)
----EM_GMM.m(4KB)
----trainGMM.m(2KB)
----README.md(3KB)
----clusteringCost.m(917B)
----multivariateGaussian.m(1KB)