Package com.neuralnetwork.shared.neurons

Examples of com.neuralnetwork.shared.neurons.BiasNeuron.feedforward()


   * Test feedforward methods.
   */
  @Test
  public final void testFeedForward() {
    BiasNeuron bn = new BiasNeuron();
    bn.feedforward(null);
    bn.feedforward(new OneValue(), null);
    assertEquals(bn.getOutputValue(), 1, Constants.TEN);
  }
 
  /**
 
View Full Code Here


   */
  @Test
  public final void testFeedForward() {
    BiasNeuron bn = new BiasNeuron();
    bn.feedforward(null);
    bn.feedforward(new OneValue(), null);
    assertEquals(bn.getOutputValue(), 1, Constants.TEN);
  }
 
  /**
   * Test toString.
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.