Bayesian robust regression mixture model
The BRRMM class implements algorithms for simulating and estimating the parameters of a finite mixture model. Regression mixture models are typically used for cluster analysis, i.e. grouping pairs of input-output data into categories. This model is specifically designed for output data containing outliers.
A BRRMM object models each prototype as a heavy-tailed distribution with component-specific parameters. The parameters are equipped with a conjugate prior distribution as per the Bayesian paradigm. The model also contains hidden variables representing the missing values in the data and the quality of the data. The posterior distributions over both parameters and hidden variables are estimated by an approximate variational inference algorithm.
This submission includes a test function that generates a set of synthetic data and learns a model from these data. The test function also plots the data clustered according to the model, and the variational lower bound on the marginal log-likelihood of the data after each iteration.
If you find this submission useful for your research/work please cite my MathWorks community profile. Feel free to contact me directly if you have any technical or application-related questions.
INSTRUCTIONS:
After downloading this submission, extract the compressed file inside your MatLab working directory and run the test function (brrmmtest.m) for a demonstration.
Cite As
Gabriel Agamennoni (2024). Bayesian robust regression mixture model (https://www.mathworks.com/matlabcentral/fileexchange/47312-bayesian-robust-regression-mixture-model), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Regression > Model Building and Assessment > Bayesian Regression >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
@brrmm/
@brrmm/private/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |