mmvn_toolkit

complete toolkit for generating, training, testing and viewing multidimensional gaussian mixtures
2.4K Downloads
Updated 31 Mar 2016

View License

A toolkit for Gaussian mixtures.
flexible tools for:
Generating univariate, multivariate, or mixtures of gaussians
Interactive viewing tools allows viewing of multidimensional data and models. Initialize models, add and remove dimensions or clusters and inspect the fit in real-time.
Also includes tools to subset the data using model-based (pseudo-)metrics.
simple example of clustering
% generate 4 clusters in 2 dimensions
[X idx theta] = mmvn_gen( 1000, [0 5; 5 0; 5 5; 0 0] );

% fit data
Opt = mmvn_fit( X, 4, theta );

% plot data
scatter( X(:,1), X(:,2), [], idx, 'filled');
hold on;
% represent fits using ellipses
ellipse( Opt.M, Opt.V);

See mmvn_tutorial (included) for a walk-through of major functionality

Cite As

Michael Boedigheimer (2024). mmvn_toolkit (https://www.mathworks.com/matlabcentral/fileexchange/15527-mmvn_toolkit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired by: PSNR

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

updated to use BSD licensing agreement

1.0.0.0

fix bug in mmvn_gen to allow a scalar to be used to specify the number of cases.

Update the inspired by line