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

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


    }

  }

  private void performAnnealing(ProjectEGFile file, MLDataSet trainingData) {
    InputAnneal dialog = new InputAnneal();
    if (dialog.process()) {
      final double startTemp = dialog.getStartTemp().getValue();
      final double stopTemp = dialog.getStartTemp().getValue();
      final int cycles = dialog.getCycles().getValue();

      CalculateScore score = new TrainingSetScore(trainingData);
      final NeuralSimulatedAnnealing train = new NeuralSimulatedAnnealing(
          (BasicNetwork) file.getObject(), score, startTemp,
          stopTemp, cycles);
      train.setTraining(trainingData);
      startup(file, train, dialog.getMaxError().getValue() / 100.0);
    }

  }
View Full Code Here

TOP

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

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.