Hi
I was able to run the test case successfully. But when I give my data as input, I get the error
Error using ==> chol
Matrix must be positive definite.
Error in ==> vbgm>vbound at 176
V = chol(Xs*Xs'/nk(i));
Error in ==> vbgm at 28
L(t) = vbound(X,model,prior)/n;
My data (286x162) doesn't contain any complete row or column as 0, although it does contain 0 at few discreet places. Does this method have a limitation?
regards,
Venkat
18 Sep 2012
clusterData
Clusters an MxN array of data into an unspecified number (P) of bins.
Author: Brett Shoelson
Very cool submission. I was searching different options to kind 'k' automatically in the k-means. This submission does it nicely.