Examples of process()


Examples of org.encog.workbench.dialogs.createnetwork.CreateSVMDialog.process()

  private static MLMethod createSVM() {
    CreateSVMDialog dialog = new CreateSVMDialog(EncogWorkBench
        .getInstance().getMainWindow());
    dialog.setSVMType(SVMType.EpsilonSupportVectorRegression);
    dialog.setKernelType(KernelType.RadialBasisFunction);
    if (dialog.process()) {
      SVMPattern svm = new SVMPattern();
      svm.setInputNeurons(dialog.getInputCount().getValue());
      svm.setOutputNeurons(dialog.getOutputCount().getValue());
      svm.setKernelType(dialog.getKernelType());
      svm.setSVMType(dialog.getSVMType());
View Full Code Here

Examples of org.encog.workbench.dialogs.newdoc.CreateNewDocument.process()

        .getInstance().getMainWindow());
    dialog.getParentDirectory().setValue(
        EncogWorkBench.getInstance().getEncogFolders().toString());
    dialog.getProjectFilename().setValue("MyEncogProject");

    if (dialog.process()) {
      File parent = new File(dialog.getParentDirectory().getValue());
      File project = new File(parent, dialog.getProjectFilename()
          .getValue());
      Directory.deleteDirectory(project); // the user was warned!
      project.mkdir();
View Full Code Here

Examples of org.encog.workbench.dialogs.population.EditNEATPopulationDialog.process()

    dialog.setNeatActivationFunction(this.population
        .getNeatActivationFunction());
    dialog.setOutputActivationFunction(this.population
        .getOutputActivationFunction());

    if (dialog.process()) {
      this.population.setOldAgePenalty(dialog.getOldAgePenalty()
          .getValue());
      this.population.setOldAgeThreshold(dialog.getOldAgeThreshold()
          .getValue());
      this.population.setPopulationSize(dialog.getPopulationSize()
View Full Code Here

Examples of org.encog.workbench.dialogs.population.ExtractGenomes.process()

  private void performExtract() {
    ExtractGenomes dialog = new ExtractGenomes(EncogWorkBench.getInstance()
        .getMainWindow(), this.population.getPopulationSize());

    if (dialog.process()) {
      String prefix = dialog.getPrefix().getValue();
      int count = dialog.getGenomesToExtract().getValue();
     
      for(int i=0;i<count;i++)
      {
View Full Code Here

Examples of org.encog.workbench.dialogs.population.NewPopulationDialog.process()

  }
 
  private static void createNewPopulation(File path) {
    NewPopulationDialog dialog = new NewPopulationDialog();

    if (dialog.process()) {
      int populationSize = dialog.getPopulationSize().getValue();
      int inputCount = dialog.getInputNeurons().getValue();
      int outputCount = dialog.getOutputNeurons().getValue();
      boolean snapshot = dialog.getSnapshot().getValue();
      NEATPopulation pop = new NEATPopulation(inputCount,outputCount,populationSize);
View Full Code Here

Examples of org.encog.workbench.dialogs.splash.EncogWorkbenchSplash.process()

  }

  public void windowOpened(final WindowEvent e) {
    if (!this.splashed) {
      EncogWorkbenchSplash splash = new EncogWorkbenchSplash();
      splash.process();
      this.splashed = true;
    }
  }

  public void windowClosing(final WindowEvent e) {
View Full Code Here

Examples of org.encog.workbench.dialogs.training.ChooseBasicNetworkTrainingMethod.process()

        performCPN(file, trainingData);
      } else if (method instanceof BasicNetwork || method instanceof RBFNetwork ) {

        ChooseBasicNetworkTrainingMethod choose = new ChooseBasicNetworkTrainingMethod(
            EncogWorkBench.getInstance().getMainWindow(),method);
        if (choose.process()) {
          ProjectEGFile file = (ProjectEGFile) dialog
              .getComboNetwork().getSelectedValue();

          switch (choose.getType()) {
          case SCG:
View Full Code Here

Examples of org.encog.workbench.dialogs.training.TrainDialog.process()

    TrainDialog dialog = new TrainDialog(EncogWorkBench.getInstance()
        .getMainWindow());
    if (mlMethod != null)
      dialog.setMethod(mlMethod);

    if (dialog.process()) {
      MLMethod method = dialog.getNetwork();
      MLDataSet trainingData = dialog.getTrainingSet();

      if (method == null) {
        EncogWorkBench.displayError("Error",
View Full Code Here

Examples of org.encog.workbench.dialogs.training.methods.InputADALINE.process()

  }

  private void performADALINE(ProjectEGFile file, MLDataSet trainingData) {
    InputADALINE dialog = new InputADALINE();
    if (dialog.process()) {
      double learningRate = dialog.getLearningRate().getValue();

      MLTrain train = new TrainAdaline((BasicNetwork) file.getObject(),
          trainingData, learningRate);
      startup(file, train, dialog.getMaxError().getValue() / 100.0);
View Full Code Here

Examples of org.encog.workbench.dialogs.training.methods.InputAnneal.process()

  }

  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);
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.