5960616263646566676869
} Gaumixmod gmix = new Gaumixmod(x,guess); for (i=0;i<100;i++) { flag=gmix.estep(); if (flag < 1.e-6) break; gmix.mstep(); } // check for convergence
6263646566676869707172
} Kmeans kmean=new Kmeans(x,guess); // *** put in some weird guesses for (i=0;i<100;i++) { flag=kmean.estep(); if (flag == 0) break; kmean.mstep(); } // check for convergence