Package org.encog.workbench.dialogs.createnetwork

Examples of org.encog.workbench.dialogs.createnetwork.CreateSVMDialog


    }
    return null;
  }

  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());
      return svm.generate();
    } else
      return null;
  }
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.createnetwork.CreateSVMDialog

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.