plot - Visualize Gaussian Mixture Model clusters in MATLAB -


i have write classifier (gaussian mixture model) use human action recognition. have 4 dataset of video, each of them contains 12 action want recognize. choose 3 of them training set , 1 of them testing set. each frame extract 907 features observations. before apply gm model on training set run pca on it. consider 50 components.

i construct gm model 1 cluster of each action.

gm = gmdistribution.fit(data, cluster_num, 'options', options, 'covtype','diagonal','regularize', 1e-10, 'sharedcov', true); 

now want have visual feedback understand if clustering worked or data misclassified.

is possible have this? enter image description here

i not near code wrote make these, remember functions worth looking at.

start here plot_gaussian_ellipsiod. can further add gmdistribution , ezcontour end this:

enter image description here

or, 3d data, use plot3 , plot_gaussian_ellipsiod :

enter image description here


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -