|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.activation.TanhActivationFunction
This implements a tanh activation function.
| Constructor Summary | |
TanhActivationFunction()
Creates a new instance of TanhActivationFunction |
|
| Method Summary | |
double |
activation(double val)
Returns the tanh activation. |
double |
derivative(double val)
Returns the tanh derivative. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TanhActivationFunction()
| Method Detail |
public double activation(double val)
activation in interface ActivationFunctionval - The value.
public double derivative(double val)
derivative in interface ActivationFunctionval - The parameter value.
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||