Examples of process()


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

  }
 
  private static MLMethod createBoltzmann() {
    CreateBlotzmannDialog dialog = new CreateBlotzmannDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      BoltzmannPattern boltz = new BoltzmannPattern();
      boltz.setInputNeurons(dialog.getNeuronCount().getValue());
      return boltz.generate();
    } else
      return null;
View Full Code Here

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

  }
 
  private static MLMethod createCPN() {
    CreateCPNDialog dialog = new CreateCPNDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      CPNPattern cpn = new CPNPattern();
      cpn.setInputNeurons(dialog.getInputCount().getValue());
      cpn.setInstarCount(dialog.getInstarCount().getValue());
      cpn.setOutstarCount(dialog.getOutstarCount().getValue());
      return cpn.generate();
View Full Code Here

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

  }

  private static MLMethod createElman() {
    CreateElmanDialog dialog = new CreateElmanDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      ElmanPattern elman = new ElmanPattern();
      elman.setInputNeurons(dialog.getInputCount().getValue());
      elman.addHiddenLayer(dialog.getHiddenCount().getValue());
      elman.setOutputNeurons(dialog.getOutputCount().getValue());
      elman.setActivationFunction(new ActivationTANH());
View Full Code Here

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

    CreateFeedforward dialog = new CreateFeedforward(EncogWorkBench
        .getInstance().getMainWindow());
    dialog.setActivationFunctionHidden(new ActivationTANH());
    dialog.setActivationFunctionOutput(new ActivationTANH());
   
    if (dialog.process()) {
      FeedForwardPattern feedforward = new FeedForwardPattern();
      feedforward.setActivationFunction(dialog.getActivationFunctionHidden());
      feedforward.setActivationOutput(dialog.getActivationFunctionOutput());
      feedforward.setInputNeurons(dialog.getInputCount().getValue());
      for (int i = 0; i < dialog.getHidden().getModel().size(); i++) {
View Full Code Here

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

  }

  private static MLMethod createHopfield() {
    CreateHopfieldDialog dialog = new CreateHopfieldDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      HopfieldPattern hopfield = new HopfieldPattern();
      hopfield.setInputNeurons(dialog.getNeuronCount().getValue());
      return hopfield.generate();
    } else
      return null;
View Full Code Here

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

  }

  private static MLMethod createJordan() {
    CreateJordanDialog dialog = new CreateJordanDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      JordanPattern jordan = new JordanPattern();
      jordan.setInputNeurons(dialog.getInputCount().getValue());
      jordan.addHiddenLayer(dialog.getHiddenCount().getValue());
      jordan.setOutputNeurons(dialog.getOutputCount().getValue());
      jordan.setActivationFunction(new ActivationTANH());
View Full Code Here

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

  public static void process(File path) {
    MLMethod network = null;
    CreateNeuralNetworkDialog dialog = new CreateNeuralNetworkDialog(
        EncogWorkBench.getInstance().getMainWindow());
    dialog.setType(NeuralNetworkType.Feedforward);
    if (dialog.process()) {
      switch (dialog.getType()) {
      case Automatic:
        createAutomatic();
        network=null;
        break;
View Full Code Here

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

    }
  }

  private static MLMethod createPNN() {
    CreatePNN dialog = new CreatePNN();
    if( dialog.process() ) {
      PNNPattern pattern = new PNNPattern();
      pattern.setInputNeurons(dialog.getInputCount().getValue());
      pattern.setOutputNeurons(dialog.getOutputCount().getValue());
      pattern.setKernel(dialog.getKernelType());
      pattern.setOutmodel(dialog.getOutputModel());
View Full Code Here

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

 
  private static MLMethod createRBF() {
    CreateRBFDialog dialog = new CreateRBFDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      RBFEnum type = dialog.getRBFType();
      RadialBasisPattern rbf = new RadialBasisPattern();
      rbf.setInputNeurons(dialog.getInputCount().getValue());
      rbf.addHiddenLayer(dialog.getHiddenCount().getValue());
      rbf.setOutputNeurons(dialog.getOutputCount().getValue());
View Full Code Here

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

  }

  private static MLMethod createSOM() {
    CreateSOMDialog dialog = new CreateSOMDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      SOMPattern som = new SOMPattern();
      som.setInputNeurons(dialog.getInputCount().getValue());
      som.setOutputNeurons(dialog.getOutputCount().getValue());
      return som.generate();
    } else
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.