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

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


    SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
        .getMainWindow(), list);
    sel.setVisible(true);

    if (sel.getSelected() == selectInstar) {
      InputInstar dialog = new InputInstar();

      if (dialog.process()) {
        double learnRate = dialog.getLearningRate().getValue();
        boolean init = dialog.getInitWeights().getValue();
        TrainInstar train = new TrainInstar((CPN)file.getObject(),trainingData,learnRate,init);
        startup(file,train, dialog.getMaxError().getValue()/100.0);
      }
    } else if (sel.getSelected() == selectOutstar) {
      InputOutstar dialog = new InputOutstar();

      if (dialog.process()) {
        double learnRate = dialog.getLearningRate().getValue();
        TrainOutstar train = new TrainOutstar((CPN)file.getObject(),trainingData,learnRate);
        startup(file,train, dialog.getMaxError().getValue()/100.0);
      }
    }
  }
View Full Code Here

TOP

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

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.