There are quite a few Expectation Maximization based Gaussian mixture models. However, the models do not set any prior for mean and variance. I have implemented a 1D GMM inspired by Chris McCormick. Such a model can be helpful in cases where the data range is small and will prevent kernel overlap by restricting the kernels around the prior values.
Rini (2021). Gaussian mixture model parameter estimation with prior hyper parameters (https://www.mathworks.com/matlabcentral/fileexchange/52775-gaussian-mixture-model-parameter-estimation-with-prior-hyper-parameters), MATLAB Central File Exchange. Retrieved .
Inspired by: EM Algorithm for Gaussian Mixture Model (EM GMM), Expectation Maximization Algorithm with Gaussian Mixture Model
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Dear Rini,
can this code been used for n-dimensional where n>1?