Package com.nr.ci

Examples of com.nr.ci.Kmeans.mstep()


    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
//    System.out.println("  flag: %f\n", flag);
    localflag = flag > 0;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.