Package org.encog.neural.pattern

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


      RadialBasisPattern rbf = new RadialBasisPattern();
      rbf.setInputNeurons(dialog.getInputCount().getValue());
      rbf.addHiddenLayer(dialog.getHiddenCount().getValue());
      rbf.setOutputNeurons(dialog.getOutputCount().getValue());
      rbf.setRBF(type);
      return rbf.generate();
    } else
      return null;

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