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?
i not near code wrote make these, remember functions worth looking at.
start here plot_gaussian_ellipsiod. can further add gmdistribution
, ezcontour
end this:
or, 3d data, use plot3
, plot_gaussian_ellipsiod
:
Comments
Post a Comment