Package org.encog.workbench.models

Examples of org.encog.workbench.models.NetworkQueryModel


    body.add(right);
    left.setLayout(new BorderLayout());
    right.setLayout(new BorderLayout());
    left.add(new JLabel("Input"), BorderLayout.NORTH);
    right.add(new JLabel("Output"), BorderLayout.NORTH);
    left.add(this.inputTable = new JTable(new NetworkQueryModel(
        this.inputCount, 2)), BorderLayout.CENTER);
    right.add(this.outputTable = new JTable(new NetworkQueryModel(
        this.outputCount, 2)), BorderLayout.CENTER);
    this.add(this.calculateButton = new JButton("Calculate"),
        BorderLayout.SOUTH);
    this.outputTable.setEnabled(false);
View Full Code Here


    body.add(right);
    left.setLayout(new BorderLayout());
    right.setLayout(new BorderLayout());
    left.add(new JLabel("Input"), BorderLayout.NORTH);
    right.add(new JLabel("Output"), BorderLayout.NORTH);
    left.add(this.inputTable = new JTable(new NetworkQueryModel(
        this.inputCount, 2)), BorderLayout.CENTER);
    right.add(this.outputTable = new JTable(new NetworkQueryModel(
        1, 2)), BorderLayout.CENTER);
    this.add(this.calculateButton = new JButton("Calculate"),
        BorderLayout.SOUTH);
    this.outputTable.setEnabled(false);
View Full Code Here

    panelRight.setLayout(new BorderLayout());

    if (classification) {
      int outputCount = 1;

      panelRight.add(this.outputTable = new JTable(new NetworkQueryModel(
          outputCount, 2)), BorderLayout.CENTER);
      this.outputTable.setEnabled(false);

      this.outputTable.setValueAt("Classification Output:", 0, 0);
      this.outputTable.setValueAt("0.0", 0, 1);

    } else {
      int outputCount = ((MLOutput) method).getOutputCount();

      panelRight.add(this.outputTable = new JTable(new NetworkQueryModel(
          outputCount, 2)), BorderLayout.CENTER);
      this.outputTable.setEnabled(false);

      for (int i = 1; i <= outputCount; i++) {
        this.outputTable.setValueAt("Output " + i + ":", i - 1, 0);
View Full Code Here

TOP

Related Classes of org.encog.workbench.models.NetworkQueryModel

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.