Expectation Maximization On Old Faithful

Applies expectation maximization to fit a mixture of binomial distributions to a data set
ダウンロード: 427
更新 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 (2024). 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 Center および MATLAB AnswersStatistics 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