Package org.encog.workbench.dialogs.training.methods

Examples of org.encog.workbench.dialogs.training.methods.InputManhattan


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

  private void performManhattan(ProjectEGFile file, MLDataSet trainingData) {
    InputManhattan dialog = new InputManhattan();
    if (dialog.process()) {
      double learningRate = dialog.getFixedDelta().getValue();
      int kFold = dialog.getKfold().getValue();

      if( kFold>0 ) {
        trainingData = this.wrapTrainingData(trainingData);
      }
     
      MLTrain train = new ManhattanPropagation(
          (BasicNetwork) file.getObject(), trainingData, learningRate);
     
      if( kFold>0 ) {
        train = this.wrapTrainer(trainingData,train,kFold);
      }     
     
      startup(file, train, dialog.getMaxError().getValue() / 100.0);
    }
  }
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.training.methods.InputManhattan

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.