Examples of process()


Examples of org.encog.workbench.dialogs.training.methods.InputSOM.process()

    sel.setVisible(true);

    if (sel.getSelected() == selectBasicSOM) {
      InputSOM somDialog = new InputSOM();

      if (somDialog.process()) {
        BasicTrainSOM train = new BasicTrainSOM((SOM) file.getObject(),
            somDialog.getLearningRate().getValue(), trainingData,
            somDialog.getNeighborhoodFunction());
        train.setForceWinner(somDialog.getForceWinner().getValue());
        startup(file, train, somDialog.getMaxError().getValue() / 100.0);
View Full Code Here

Examples of org.encog.workbench.dialogs.training.methods.InputSVM.process()

  }

  private void performSVMSimple(ProjectEGFile file, MLDataSet trainingData) {
    InputSVM dialog = new InputSVM((SVM) file.getObject());

    if (dialog.process()) {
      double c = dialog.getC().getValue();
      double g = dialog.getGamma().getValue();
      SVM method = (SVM) file.getObject();
      SVMTrain train = new SVMTrain((SVM) method, trainingData);
      train.setC(c);
View Full Code Here

Examples of org.encog.workbench.dialogs.training.methods.InputSearchSVM.process()

    dialog.getStepGamma().setValue(SVMTrain.DEFAULT_GAMMA_STEP);
    dialog.getBeginningC().setValue(SVMTrain.DEFAULT_CONST_BEGIN);
    dialog.getEndingC().setValue(SVMTrain.DEFAULT_CONST_END);
    dialog.getStepC().setValue(SVMTrain.DEFAULT_CONST_STEP);

    if (dialog.process()) {
      double maxError = dialog.getMaxError().getValue() / 100.0;
      SVMSearchJob train = new SVMSearchJob(method, trainingData, null);
      train.setGammaBegin(dialog.getBeginningGamma().getValue());
      train.setGammaEnd(dialog.getEndingGamma().getValue());
      train.setGammaStep(dialog.getStepGamma().getValue());
View Full Code Here

Examples of org.encog.workbench.dialogs.trainingdata.CreateEmptyTrainingDialog.process()

  private static void createNewEGB(File file)
  {
    CreateEmptyTrainingDialog dialog = new CreateEmptyTrainingDialog(
        EncogWorkBench.getInstance().getMainWindow());

    if (dialog.process()) {
      int elements = dialog.getElements().getValue();
      int input = dialog.getInput().getValue();
      int output = dialog.getIdeal().getValue();

      BufferedNeuralDataSet trainingData = new BufferedNeuralDataSet(file);
View Full Code Here

Examples of org.encog.workbench.dialogs.trainingdata.CreateMarketTrainingDialog.process()

    dialog.getToDay().setValue(31);
    dialog.getToMonth().setValue(12);
    dialog.getToYear().setValue(2005);

    if (dialog.process()) {
      String ticker = dialog.getTicker().getValue();
      int fromDay = dialog.getFromDay().getValue();
      int fromMonth = dialog.getFromMonth().getValue();
      int fromYear = dialog.getFromYear().getValue();
View Full Code Here

Examples of org.encog.workbench.dialogs.trainingdata.CreateTrainingDataDialog.process()

    CreateTrainingDataDialog dialog = new CreateTrainingDataDialog(
        EncogWorkBench.getInstance().getMainWindow());

    dialog.setType(TrainingDataType.CopyCSV);

    if (dialog.process()) {
      String name = dialog.getFilenameName();

      if (name.trim().length() == 0) {
        EncogWorkBench
            .displayError("Error", "Must specify a filename.");
View Full Code Here

Examples of org.encog.workbench.dialogs.trainingdata.RandomTrainingDataDialog.process()

        EncogWorkBench.getInstance().getMainWindow());

    dialog.getHigh().setValue(1);
    dialog.getLow().setValue(-1);

    if (dialog.process()) {
      double high = dialog.getHigh().getValue();
      double low = dialog.getLow().getValue();
      int elements = dialog.getElements().getValue();
      int input = dialog.getColumns().getValue();
View Full Code Here

Examples of org.encog.workbench.dialogs.validate.InputValidationChart.process()

  public void perform(Frame owner) {
    try {
    final InputValidationChart dialog = new InputValidationChart(
        EncogWorkBench.getInstance().getMainWindow());

    if (dialog.process()) {
      method = dialog.getNetwork();
      training = dialog.getTrainingSet();

      if( method instanceof MLContext )
        ((MLContext)method).clearContext();
View Full Code Here

Examples of org.encog.workbench.dialogs.visualize.scatter.ScatterChooseClass.process()

          "Can't use scatter plot for time-series.");
      return;
    }

    ScatterChooseClass dialog = new ScatterChooseClass(this.analyst);
    if (dialog.process()) {
      if (dialog.getAxis().size() < 2) {
        EncogWorkBench.displayError("Error",
            "Must select at least two axes.");
        return;
      }
View Full Code Here

Examples of org.encog.workbench.dialogs.wizard.analyst.AnalystWizardDialog.process()

    if (csvFile != null) {
      dialog.getRawFile().setValue(csvFile.toString());
    }

    if (dialog.process()) {
      EncogAnalyst analyst = null;
      File projectFolder = EncogWorkBench.getInstance()
          .getProjectDirectory();
      File egaFile = null;
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.