Package org.encog.neural.rbf

Examples of org.encog.neural.rbf.RBFNetwork


  }
 
  public void testFactoryRBF() {
    String architecture = "?->GAUSSIAN(c=4)->?";
    MLMethodFactory factory = new MLMethodFactory();
    RBFNetwork network = (RBFNetwork)factory.create(MLMethodFactory.TYPE_RBFNETWORK, architecture, 1, 4);
    Assert.assertEquals(1,network.getInputCount());
    Assert.assertEquals(4,network.getOutputCount());
    Assert.assertEquals(4,network.getRBF().length)
  }
View Full Code Here


   *
   * @return The neural network.
   */
  public MLMethod generate() {

    RBFNetwork result = new RBFNetwork(inputNeurons, this.hiddenNeurons ,outputNeurons,this.rbfType);
    return result;
  }
View Full Code Here

TOP

Related Classes of org.encog.neural.rbf.RBFNetwork

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.