Bayesian robust state-space mixture model

MatLab object for grouping sequences of real-valued, noisy data according to their underlying dynami
857 Downloads
Updated 21 Mar 2014

View License

The BRSSMM class implements algorithms for simulating and estimating the parameters of a finite mixture of state-space models. Mixture models are typically used in cluster analysis, i.e. grouping data into a finite number of classes, or mixture components. The state-space representation is often used for modelling stochastic dynamical systems where some of the the variables are not directly observable. The purpose of the BRSSMM class is to group sequences of data according to their underlying dynamics. This model in particular is designed for problems where the dynamics are linear, or near-linear, and the data contain outliers and/or missing values.

A BRSSMM object models each component as a stochastic, linear dynamical system with class-specific parameters. The parameters affect how the states evolve, and how they relate to the data. Parameters are equipped with a conjugate prior distribution as per the Bayesian paradigm. The model also contains hidden variables representing missing values in the data, as well as the quality of the data. The posterior distributions over the parameters, states 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 (brssmmtest.m) for a demonstration.

Cite As

Gabriel Agamennoni (2024). Bayesian robust state-space mixture model (https://www.mathworks.com/matlabcentral/fileexchange/43835-bayesian-robust-state-space-mixture-model), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dynamic System Models in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

Major code refactoring.

1.2.0.0

Minor redesign.

1.1.0.0

Minor changes to the code and updates of the documentation.

1.0.0.0