|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.nn.TanhActivationFunction
Hyperbolic tangent.
Field Summary | |
static java.lang.String |
NAME
identifying string |
Method Summary | |
double |
apply(double input)
Hyperbolic tangent. |
long |
cost()
|
double |
getMaxValue()
|
double |
getMinValue()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
Method Detail |
public java.lang.String toString()
Object.toString()
public double apply(double input)
apply
in interface ActivationFunction
input
-
input
ActivationFunction.apply(double)
public double getMaxValue()
getMaxValue
in interface ActivationFunction
ActivationFunction.getMaxValue()
public double getMinValue()
getMinValue
in interface ActivationFunction
ActivationFunction.getMinValue()
public long cost()
cost
in interface ActivationFunction
ActivationFunction.cost()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |