Package jmt.engine.jwat.workloadAnalysis.clustering.fuzzyKMean

Examples of jmt.engine.jwat.workloadAnalysis.clustering.fuzzyKMean.ClusterInfoFuzzy$SFCluStat


  }

  private void saveFuzzyData(ZipOutputStream zos, FuzzyKMean clustering) throws IOException {
    int i, j, k, s;
    ClusteringInfosFuzzy curInfo;
    ClusterInfoFuzzy curClustInfo[];
    double clustAssign[][];
    double entropy[];
    DataOutputStream dos = new DataOutputStream(zos);

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


    int numoss = m.getNumOfObs();
    DataInputStream dis = new DataInputStream(zf.getInputStream(new ZipEntry(fileName)));
    double asseg[][];
    double entropy[];
    double error;
    ClusterInfoFuzzy infoCluster[];
    FuzzyKMean fkm = new FuzzyKMean(numCluster + 1, varSelLst);

    //init result vector
    curInfo = new ClusteringInfosFuzzy[numCluster];
    entropy = new double[numCluster];

    //System.out.println("Loading Fuzzy kMeans Results "+fileName);
    for (i = 0; i < numCluster; i++) {
      curNumCluster = dis.readInt();
      entropy[i] = dis.readDouble();
      error = dis.readDouble();
      infoCluster = new ClusterInfoFuzzy[curNumCluster];
      if (error != -1) {
        for (k = 0; k < curNumCluster; k++) {
          infoCluster[k] = new ClusterInfoFuzzy(numvars);
          infoCluster[k].numOss = dis.readInt();
          for (j = 0; j < numvars; j++) {
            infoCluster[k].percVar[j] = dis.readDouble();
            infoCluster[k].statClust[j].iNotZr = dis.readInt();
            infoCluster[k].statClust[j].dMedia = dis.readDouble();
View Full Code Here

TOP

Related Classes of jmt.engine.jwat.workloadAnalysis.clustering.fuzzyKMean.ClusterInfoFuzzy$SFCluStat

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.