Package org.encog.workbench.dialogs.select

Examples of org.encog.workbench.dialogs.select.SelectItem


  }

  private void visualizeData() {
    if (compile()) {

      SelectItem dataReport;
      SelectItem scatterPlot;

      List<SelectItem> list = new ArrayList<SelectItem>();
      list.add(dataReport = new SelectItem("Range Report",
          "See a report about the ranges adn columns."));
      list.add(scatterPlot = new SelectItem("Scatter Plot",
          "See basic relationships amoung the columns."));

      SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
          .getMainWindow(), list);
      sel.setVisible(true);
View Full Code Here


      }
    }
  }

  private void performCPN(ProjectEGFile file, MLDataSet trainingData) {
    SelectItem selectInstar;
    SelectItem selectOutstar;

    List<SelectItem> list = new ArrayList<SelectItem>();
    list.add(selectInstar = new SelectItem(
        "Instar Training",
        "This training must be done first.  Train the competative clustering part of the network."));
    list.add(selectOutstar = new SelectItem("Outstar Training",
        "This training must be done second.  Train the regression part of the network."));
    SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
        .getMainWindow(), list);
    sel.setVisible(true);
View Full Code Here

    }
  }

  private void performSOM(ProjectEGFile file, MLDataSet trainingData) {

    SelectItem selectBasicSOM;
    SelectItem selectSOMClusterCopy;

    List<SelectItem> list = new ArrayList<SelectItem>();
    list.add(selectBasicSOM = new SelectItem(
        "Basic SOM Neighborhood Training",
        "Train the nerual network using the classic neighborhood based SOM training."));
    list.add(selectSOMClusterCopy = new SelectItem(
        "SOM Cluster Copy Training",
        "Train the SOM using the cluser copy method."));
    SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
        .getMainWindow(), list);
    sel.setVisible(true);
View Full Code Here

      startup(file, train, dialog.getMaxError().getValue() / 100.0);
    }
  }

  private void performSVM(ProjectEGFile file, MLDataSet trainingData) {
    SelectItem selectBasicSVM;
    SelectItem selectSearchSVM;

    List<SelectItem> list = new ArrayList<SelectItem>();
    list.add(selectBasicSVM = new SelectItem(
        "Basic SVM Training",
        "Train the SVM using a fixed gamma and constant.  Very fast training, but will not result in the lowest possable error for your SVM."));
    list.add(selectSearchSVM = new SelectItem(
        "Search SVM Training",
        "Works similar to SimpleSVM training, but tries many different gamma and constant values."));
    SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
        .getMainWindow(), list);
    sel.setVisible(true);
View Full Code Here

        EncogWorkBench.getInstance().getMainWindow().getTabManager()
            .openModalTab(tab, "Thermal Query");     
      }
      // only supports regression
      else {
        SelectItem selectClassification = null;
        SelectItem selectRegression = null;
        SelectItem selectOCR;
       
        List<SelectItem> list = new ArrayList<SelectItem>();
        if( this.method instanceof MLClassification ) {
        list.add(selectClassification = new SelectItem("Query Classification",
            "Machine Learning output is a class."));
        }
        if( this.method instanceof MLRegression ) {
        list.add(selectRegression = new SelectItem("Query Regression",
            "Machine Learning output is a number(s)."));
        }
        list.add(selectOCR = new SelectItem("Query OCR",
          "Query using drawn chars.  Supports regression or classification."));
        SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
            .getMainWindow(), list);
        sel.setVisible(true);
       
View Full Code Here

              "This Machine Learning Method type does not support properties.");
    }
  }

  public void handleVisualize() {
    SelectItem selectWeights;
    SelectItem selectStructure;
    SelectItem selectThermal;
    List<SelectItem> list = new ArrayList<SelectItem>();
    list.add(selectWeights = new SelectItem("Weights Histogram",
        "A histogram of the weights."));
    list.add(selectStructure = new SelectItem("Network Structure",
        "The structure of the neural network."));
    list.add(selectThermal = new SelectItem("Thermal Matrix",
        "Shows the matrix of a Hopfield or Boltzmann Machine."));
    SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
        .getMainWindow(), list);
    sel.setVisible(true);
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.select.SelectItem

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.