Package jmt.engine.jwat.workloadAnalysis.clustering.kMean

Examples of jmt.engine.jwat.workloadAnalysis.clustering.kMean.ClusterInfoKMean$SCluStat


  }

  private void saveKmeansData(ZipOutputStream zos, KMean clustering) throws IOException {
    int i, j, k;
    ClusteringInfosKMean curInfo;
    ClusterInfoKMean curClustInfo[];
    short clustAssign[][];
    DataOutputStream dos = new DataOutputStream(zos);
    clustAssign = clustering.getAsseg();

    for (i = 0; i < clustering.getNumCluster(); i++) {
View Full Code Here


      curNumCluster = dis.readInt();
      curInfo[i] = new ClusteringInfosKMean(curNumCluster - 1, numvars);
      curInfo[i].omsr = dis.readDouble();
      curInfo[i].ratio = dis.readDouble();
      for (k = 0; k < curNumCluster; k++) {
        curInfo[i].infoCluster[k] = new ClusterInfoKMean(numvars);
        curInfo[i].infoCluster[k].numOss = dis.readInt();
        for (j = 0; j < numvars; j++) {
          curInfo[i].infoCluster[k].percVar[j] = dis.readDouble();
          curInfo[i].infoCluster[k].statClust[j].iNotZr = dis.readInt();
          curInfo[i].infoCluster[k].statClust[j].dMedia = dis.readDouble();
View Full Code Here

TOP

Related Classes of jmt.engine.jwat.workloadAnalysis.clustering.kMean.ClusterInfoKMean$SCluStat

Copyright © 2018 www.massapicom. 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.