EM_GM

バージョン 1.0.0.0 (9.77 KB) 作成者: Patrick Tsui
An expectation maximization algorithm for learning a multi-dimensional Gaussian mixture.
ダウンロード: 28.4K
更新 2016/4/4

ライセンスの表示

Although EM algorithm for Gaussian mixture (EM_GM) learning is well known, 3 major MATLAB EM_GM codes are found on the web. However, they either have errors or not easy to incorporate into other MATLAB codes. Therefore, I decide to write my own EM_GM and share it. My EM_GM is designed as a single file function (i.e. all sub functions are included in the same file) for convenience and portability.
Detail descriptions of all inputs and outputs are included in the file. EM_GM can be controlled to plot 1D or 2D problems and display CPU time used as well as number of iterations.

Example:
X = zeros(600,2);
X(1:200,:) = normrnd(0,1,200,2);
X(201:400,:) = normrnd(0,2,200,2);
X(401:600,:) = normrnd(0,3,200,2);
[W,M,V,L] = EM_GM(X,3,[],[],1,[])

引用

Patrick Tsui (2024). EM_GM (https://www.mathworks.com/matlabcentral/fileexchange/8636-em_gm), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStatistics and Machine Learning Toolbox についてさらに検索
謝辞

ヒントを与えたファイル: Plot_GM, Fast EM_GM, Background Removal using Gaussian Model

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Just updating the license.
Enchance likelihood computation