Package org.encog.engine.network.activation

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


    if (name.equalsIgnoreCase(MLActivationFactory.AF_LINEAR)) {
      return new ActivationLinear();
    }

    if (name.equalsIgnoreCase(MLActivationFactory.AF_LOG)) {
      return new ActivationLOG();
    }

    if (name.equalsIgnoreCase(MLActivationFactory.AF_RAMP)) {
      return new ActivationRamp();
    }
View Full Code Here


public class TestActivationLOG extends TestCase {

  @Test
  public void testLog() throws Throwable {
    ActivationLOG activation = new ActivationLOG();
    Assert.assertTrue(activation.hasDerivative());

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

    double[] input = { 0.0  };

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

      break;
    case 3:
      newActivation = new ActivationLinear();
      break;
    case 4:
      newActivation = new ActivationLOG();
      break;
    case 5:
      newActivation = new ActivationSigmoid();
      break;
    case 6:
View Full Code Here

    if (name.equalsIgnoreCase(MLActivationFactory.AF_LINEAR)) {
      return new ActivationLinear();
    }

    if (name.equalsIgnoreCase(MLActivationFactory.AF_LOG)) {
      return new ActivationLOG();
    }

    if (name.equalsIgnoreCase(MLActivationFactory.AF_RAMP)) {
      return new ActivationRamp();
    }
View Full Code Here

public class TestActivationLOG extends TestCase {

  @Test
  public void testLog() throws Throwable {
    ActivationLOG activation = new ActivationLOG();
    Assert.assertTrue(activation.hasDerivative());

    ActivationLOG clone = (ActivationLOG) 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.ActivationLOG

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.