3D visualization of GMM learning via the EM algorithm

版本 1.9.0.0 (4.2 KB) 作者: Johannes
The evolution of a GMM in the EM algorithm is visualized by interpolating between iterations.
1.7K 次下载
更新时间 2013/3/4

查看许可证

This is a 3D visualization of how the Expectation Maximization algorithm learns a Gaussian Mixture Model for 3-dimensional data.

--How it works--
The data is either read in or generated in general-covariance gaussian clusters. For desired values of k (number of Gaussians to fit), a movie is played showing the evolution of the GMM through the iterations of the EM algorithm. The true model is only available at each iteration (viewed as an anchor frame in a movie), so the illusion of movement of the 3D Gaussians (displayed as ellipsoids at 1 standard deviation) is given by interpolating enough "frames" in between these anchor frames.

引用格式

Johannes (2025). 3D visualization of GMM learning via the EM algorithm (https://ww2.mathworks.cn/matlabcentral/fileexchange/34527-3d-visualization-of-gmm-learning-via-the-em-algorithm), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.9.0.0

Simplified 2D plotting option, stream-lined code

1.8.0.0

Cleaned up code, improved plotting, coloring, added full-covariance capabilities

1.6.0.0

Corrected bug in EM implementation

1.5.0.0

changed mean initialization from 'at data mean with small noise' to 'at data points chosen at random' (usually gives better clustering)

1.4.0.0

reduced overhead

1.2.0.0

updated description

1.1.0.0

color gradient added to data points to show the certainty that it belongs to the nearest Gaussian

1.0.0.0