mvnpdf / calculate Probability Density for a Matrix / EM algorithm
10 ビュー (過去 30 日間)
古いコメントを表示
Hello MATLAB Community,
You are my last resort! I need to apply EM clustering to a couple of thousands of matrices (m rows, n columns). The corresponding k-means works well.
However, I have trouble figuring out the Gaussian probability density function for entities that are matrices.
mvnpdf(X,Mu,Sigma) is supposed to receive a matrix for X. But will it be consistent with what I need?
Thanks in advance!
0 件のコメント
採用された回答
Sam Roberts
2011 年 1 月 31 日
In R2007b, Statistics Toolbox introduced the gmdistribution class, which represents Gaussian mixture distributions. gmm = gmdistribution.fit(X,k) uses an EM algorithm to fit a Gaussian mixture model with k components to the data in matrix X. The data can then be partitioned into clusters using idx = cluster(gmm,X).
Introduction to Gaussian mixture models:
gmdistribution.fit
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!