Package org.encog.util.arrayutil

Examples of org.encog.util.arrayutil.ClassItem


    this.actualHigh = 0;
    this.actualLow = 0;

    int index = 0;
    for (int i = classFrom; i < classTo; i++) {
      this.classes.add(new ClassItem("" + i, index++));
    }

  }
View Full Code Here


    this.normalizedLow = low;
    this.actualHigh = 0;
    this.actualLow = 0;

    for (int i = 0; i < cls.length; i++) {
      this.classes.add(new ClassItem(cls[i], i));
    }

  }
View Full Code Here

          || (norm.getAction() == NormalizationAction.SingleField)) {

        int index = 0;
        for (final AnalystClassItem item : f.getClassMembers()) {
          norm.getClasses().add(
              new ClassItem(item.getName(), index++));
        }
      }
    }
  }
View Full Code Here

          if (this.analystHeaders.find(field.getName()) != -1) {

            if (field.isOutput()) {
              if (field.isClassify()) {
                // classification
                final ClassItem cls = field.determineClass(
                    outputIndex, output.getData());
                outputIndex += field.getColumnsNeeded();
                if (cls == null) {
                  row.getData()[index++] = "?Unknown?";
                } else {
                  row.getData()[index++] = cls.getName();
                }
              } else {
                // regression
                double n = output.getData(outputIndex++);
                n = field.deNormalize(n);
View Full Code Here

          if (this.analystHeaders.find(field.getName()) != -1) {

            if (field.isOutput() || field.getName().equals(otherOutput)) {
              if (field.isClassify()) {
                // classification
                final ClassItem cls = field.determineClass(
                    outputIndex, output.getData());
                outputIndex += field.getColumnsNeeded();
                if (cls == null) {
                  row.getData()[index++] = "?Unknown?";
                } else {
                  row.getData()[index++] = cls.getName();
                }
              } else {
                // regression
                double n = output.getData(outputIndex++);
                n = field.deNormalize(n);
View Full Code Here

          || (norm.getAction() == NormalizationAction.SingleField)) {

        int index = 0;
        for (final AnalystClassItem item : f.getClassMembers()) {
          norm.getClasses().add(
              new ClassItem(item.getName(), index++));
        }
      }
    }
  }
View Full Code Here

    this.actualHigh = 0;
    this.actualLow = 0;

    int index = 0;
    for (int i = classFrom; i < classTo; i++) {
      this.classes.add(new ClassItem("" + i, index++));
    }

  }
View Full Code Here

    this.normalizedLow = low;
    this.actualHigh = 0;
    this.actualLow = 0;

    for (int i = 0; i < cls.length; i++) {
      this.classes.add(new ClassItem(cls[i], i));
    }

  }
View Full Code Here

TOP

Related Classes of org.encog.util.arrayutil.ClassItem

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.