Rank: 42024 based on 0 downloads (last 30 days) and 0 file submitted
photo

Nofil Barlas

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Nofil
Updated File Comments Rating
19 Oct 2010 EM algorithm for Gaussian mixture model EM algorithm for Gaussian mixture. Works on arbitray dimensions with high speed and precision. Author: Mo Chen

Quick question. I ran the code and what the error:

>> load data;
label = emgm(x,3);
scatterd(x,label);
EM for Gaussian mixture: running ... ??? Error using ==> randsample at 117
K must be less than or equal to N for sampling without replacement.

Error in ==> emgm>initialization at 36
idx = randsample(n,k);

Error in ==> emgm at 9
R = initialization(X,init);

Thanks.

Contact us