SciLib.Neuro
Class tanh

java.lang.Object
  extended by SciLib.Neuro.tanh
All Implemented Interfaces:
Activation

public class tanh
extends java.lang.Object
implements Activation

This class defines a tanh activation function.


Constructor Summary
tanh()
           
 
Method Summary
 double g(double x)
           
 double gDerivative(double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

tanh

public tanh()
Method Detail

g

public double g(double x)
Specified by:
g in interface Activation

gDerivative

public double gDerivative(double y)
Specified by:
gDerivative in interface Activation