Examples of InputSCG


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

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

  private void performSCG(ProjectEGFile file, MLDataSet trainingData) {
    InputSCG dialog = new InputSCG();
    if (dialog.process()) {
      int kFold = dialog.getKfold().getValue();
     
      if( kFold>0 ) {
        trainingData = this.wrapTrainingData(trainingData);
      }
     
      MLTrain train = new ScaledConjugateGradient(
          (BasicNetwork) file.getObject(), trainingData);
     
      if( kFold>0 ) {
        train = this.wrapTrainer(trainingData,train,kFold);
      }
     
      startup(file, train, dialog.getMaxError().getValue() / 100.0);
    }
  }
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.