You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The code implements the 2000 Variational Bayes for one dimension Gaussian mixture models paper by Penny and Roberts. (http://www.fil.ion.ucl.ac.uk/~wpenny/publications/vbmog.ps)
Given an 1D vector of values generated by multiple Gaussian distributions, it finds out the number of components, mean and variance of those components. Although it is variational Bayes, an initial value for the number of components has to be give. It can be changed in line 38 inside the init function.
Note: The code sometimes converges and sometimes not with nan values. I thought it might be helpful to get some feedback on this forum and improve upon it.
Cite As
Rini (2026). GMMVb_SB(X) (https://nl.mathworks.com/matlabcentral/fileexchange/59316-gmmvb_sb-x), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: EM Algorithm for Gaussian Mixture Model (EM GMM), Variational Bayesian Inference for Gaussian Mixture Model
General Information
- Version 1.0.0.0 (3.13 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | added link to the paper http://www.fil.ion.ucl.ac.uk/~wpenny/publications/vbmog.ps |
