开源软件名称(OpenSource Name):rezaahmadzadeh/Expectation-Maximization开源软件地址(OpenSource Url):https://github.com/rezaahmadzadeh/Expectation-Maximization开源编程语言(OpenSource Language):MATLAB 100.0%开源软件介绍(OpenSource Introduction):Expectation-MaximizationExpectation-Maximization (EM) algorithm in Matlab This code implements the Expectation-Maximization (EM) 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. ExampleIn this example, we first generate a dataset of points from two Normal distributions and label the dataset. This dataset with correct labels are our true values. Then we reshuffle the labels and run the EM algorithm for the new dataset. The EM algorithm clusters the dataset correctly and also estimates the parameters of two Normal distributions that could be used to draw the points. ResultThe result that I get on my machine is as follows:
Version
How do I get set up?MATLAB
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论