Examples of generate()


Examples of org.encog.neural.pattern.FeedForwardPattern.generate()

    FeedForwardPattern pattern = new FeedForwardPattern();
    pattern.setInputNeurons(this.input[0].length);
    pattern.setOutputNeurons(this.ideal[0].length);
    pattern.addHiddenLayer(8);
    pattern.setActivationFunction(new ActivationSigmoid());
    return (BasicNetwork)pattern.generate();
  }
   
  public BasicNetwork createJordan()
  {
    JordanPattern pattern = new JordanPattern();
View Full Code Here

Examples of org.encog.neural.pattern.HopfieldPattern.generate()

    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;
  }

  private static MLMethod createSOM() {
View Full Code Here

Examples of org.encog.neural.pattern.JordanPattern.generate()

    JordanPattern pattern = new JordanPattern();
    pattern.setInputNeurons(this.input[0].length);
    pattern.setOutputNeurons(this.ideal[0].length);
    pattern.addHiddenLayer(16);
    pattern.setActivationFunction(new ActivationSigmoid());
    return (BasicNetwork)pattern.generate();
  }
 
  public void run()
  {
View Full Code Here

Examples of org.encog.neural.pattern.PNNPattern.generate()

      PNNPattern pattern = new PNNPattern();
      pattern.setInputNeurons(dialog.getInputCount().getValue());
      pattern.setOutputNeurons(dialog.getOutputCount().getValue());
      pattern.setKernel(dialog.getKernelType());
      pattern.setOutmodel(dialog.getOutputModel());
      return pattern.generate();
    }
    return null;
  }

  private static MLMethod createSVM() {
View Full Code Here

Examples of org.encog.neural.pattern.RadialBasisPattern.generate()

        int numNeurons = (int)Math.pow(numNeuronsPerDimension, dimensions);
        int numEdges = (int)(dimensions * Math.pow(2, dimensions - 1));

        pattern.addHiddenLayer(numNeurons);

        RBFNetwork network = (RBFNetwork)pattern.generate();

        //Position the multidimensional RBF neurons, with equal spacing, within the provided sample space from 0 to 1.
        network.setRBFCentersAndWidthsEqualSpacing(0, 1, RBFEnum.Gaussian, volumeNeuronWidth, includeEdgeRBFs);

        //Create some training data that can not easily be represented by gaussians
View Full Code Here

Examples of org.encog.neural.pattern.SOMPattern.generate()

        .getInstance().getMainWindow());
    if (dialog.process()) {
      SOMPattern som = new SOMPattern();
      som.setInputNeurons(dialog.getInputCount().getValue());
      som.setOutputNeurons(dialog.getOutputCount().getValue());
      return som.generate();
    } else
      return null;
  }

  private static MLMethod createFeedForward() {
View Full Code Here

Examples of org.encog.neural.pattern.SVMPattern.generate()

      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

Examples of org.encog.workbench.util.TemporalXOR.generate()

      } catch (NumberFormatException e) {
        EncogWorkBench.displayError("Error",
            "Must enter a valid number.");
      }
      TemporalXOR temp = new TemporalXOR();
      BasicMLDataSet trainingData = (BasicMLDataSet) temp
          .generate(count);
      File targetFile = new File(EncogWorkBench.getInstance()
          .getProjectDirectory(), name);
      EncogUtility.saveCSV(targetFile, CSVFormat.ENGLISH, trainingData);
    }
View Full Code Here

Examples of org.erlide.annotations.MultipleParameterMethodMemoizer.generate()

            _singleParameterMethodMemoizer.generate();
            break;
          default:
            int _indexOf_2 = methods.indexOf(it);
            MultipleParameterMethodMemoizer _multipleParameterMethodMemoizer = new MultipleParameterMethodMemoizer(it, context, _indexOf_2);
            _multipleParameterMethodMemoizer.generate();
            break;
        }
      }
    };
    IterableExtensions.forEach(methods, _function);
View Full Code Here

Examples of org.erlide.annotations.ParamterlessMethodMemoizer.generate()

        int _size = IterableExtensions.size(_parameters);
        switch (_size) {
          case 0:
            int _indexOf = methods.indexOf(it);
            ParamterlessMethodMemoizer _paramterlessMethodMemoizer = new ParamterlessMethodMemoizer(it, context, _indexOf);
            _paramterlessMethodMemoizer.generate();
            break;
          case 1:
            int _indexOf_1 = methods.indexOf(it);
            SingleParameterMethodMemoizer _singleParameterMethodMemoizer = new SingleParameterMethodMemoizer(it, context, _indexOf_1);
            _singleParameterMethodMemoizer.generate();
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.