File Exchange

image thumbnail

Expectation Maximization Algorithm

version 1.2.0.0 (61.7 KB) by Reza Ahmadzadeh
Expectation Maximization Algorithm

30 Downloads

Updated 19 Jan 2018

View Version History

View License

This submission implements the Expectation Maximization algorithm and tests it on a simple 2D dataset.
The Expectation–Maximization (EM) algorithm is an iterative method to find maximum likelihood or maximum a posteriori (MAP) estimates of parameters in statistical models, where the model depends on unobserved latent variables. The EM iteration alternates between performing an expectation (E) step, which creates a function for the expectation of the log-likelihood evaluated using the current estimate for the parameters, and a maximization (M) step, which computes parameters maximizing the expected log-likelihood found on the E step. These parameter-estimates are then used to determine the distribution of the latent variables in the next E step.

Github Repository:
https://github.com/rezaahmadzadeh/Expectation-Maximization

Cite As

Reza Ahmadzadeh (2020). Expectation Maximization Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/65772-expectation-maximization-algorithm), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Danial Sadeghpour

Abubakar Ali

Well done

Nguyen Minh Tuan

Thanks a lot

Dmitry Savin

Sanx a lot!

sadeq ebrahimi

nice job

Yash Jogi

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!