|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mulan.classifier.neural.model.ActivationFunction mulan.classifier.neural.model.ActivationTANH
public class ActivationTANH
Implements the hyperbolic tangent activation function. The function output values are from interval <-1,1>.
Field Summary | |
---|---|
static double |
MAX
Maximum value of function |
static double |
MIN
Minimum value of function |
Constructor Summary | |
---|---|
ActivationTANH()
|
Method Summary | |
---|---|
double |
activate(double input)
Computes an output value of the function for given input. |
double |
derivative(double input)
Computes an output value of function derivation for given input. |
double |
getMax()
Gets the maximum value the function can output. |
double |
getMin()
Gets the minimum value the function can output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double MAX
public static final double MIN
Constructor Detail |
---|
public ActivationTANH()
Method Detail |
---|
public double activate(double input)
ActivationFunction
activate
in class ActivationFunction
input
- the input value to the function
public double derivative(double input)
ActivationFunction
derivative
in class ActivationFunction
input
- the input value to the function
public double getMax()
ActivationFunction
getMax
in class ActivationFunction
public double getMin()
ActivationFunction
getMin
in class ActivationFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |