Package org.encog.engine.network.activation

Examples of org.encog.engine.network.activation.ActivationTANH


import org.junit.Test;

public class TestActivationTANH extends TestCase {
  @Test
  public void testTANH() throws Throwable {
    ActivationTANH activation = new ActivationTANH();
    Assert.assertTrue(activation.hasDerivative());

    ActivationTANH clone = (ActivationTANH) activation.clone();
    Assert.assertNotNull(clone);

    double[] input = { 0.0  };

    activation.activationFunction(input,0,input.length);
View Full Code Here

TOP

Related Classes of org.encog.engine.network.activation.ActivationTANH

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.