Expectation Maximization On Old Faithful

Applies expectation maximization to fit a mixture of binomial distributions to a data set
430.0 次下载
更新时间 2015/3/3

查看许可证

ExpectationMaximizationOnOldFaithful applies Expectation Maximization to learn generating mixture of multi-nomial distributions for a 2D data set of waiting time between eruptions and the duration of the eruption for the Old Faithful geyser in Yellowstone National Park, Wyoming, USA.
USAGE: pauseSec is an optional parameter to add a delay after each iteration
ExpectationMaximizationOnOldFaithful() fits the dataset by two binormal distributions
ExpectationMaximizationOnOldFaithful( pauseSec, n) initializes expectation maximization with a multi-nomial distribution composed of n Gaussians, e.g. for 5:
>> ExpectationMaximizationOnOldFaithful( 0, 5)

ExpectationMaximizationOnOldFaithful(pauseSec, numGauss, theta)
initializes the algorithm with parameters theta, a struct with
- tau, a probaiity vector that a random data element belongs to each of n Gaussian distributions
- mu, the mean of each Gaussian distribution
- sigma, the covariance matrix for each Gaussian distributions

based on 'R' code by 3mta3 published on Wikipedia (http://en.wikipedia.org/wiki/Expectation–maximization_algorithm#mediaviewer/File:Em_old_faithful.gif)

Aaron T. Becker, 2015-03-01

引用格式

Aaron T. Becker's Robot Swarm Lab (2025). Expectation Maximization On Old Faithful (https://www.mathworks.com/matlabcentral/fileexchange/49869-expectation-maximization-on-old-faithful), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

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

Fixed title -- added spaces

1.1.0.0

Corrected grammar, added default behaviors, restructured code so algorithm is on the top.

1.0.0.0