Package org.encog.workbench.dialogs

Examples of org.encog.workbench.dialogs.RandomizeNetworkDialog


    TrainBasicNetwork t = new TrainBasicNetwork((ProjectEGFile)this.getEncogObject(),this);
    t.performTrain();
  }

  private void randomizeBasicNetwork() {
    RandomizeNetworkDialog dialog = new RandomizeNetworkDialog(
        EncogWorkBench.getInstance().getMainWindow());

    dialog.getHigh().setValue(1);
    dialog.getConstHigh().setValue(1);
    dialog.getLow().setValue(-1);
    dialog.getConstLow().setValue(-1);
    dialog.getSeedValue().setValue(1000);
    dialog.getConstantValue().setValue(0);
    dialog.getPerturbPercent().setValue(0.01);

    if (dialog.process()) {
      switch (dialog.getCurrentTab()) {
      case 0:
        optionRandomize(dialog);
        break;

      case 1:
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.RandomizeNetworkDialog

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.