|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.activation.ActivationTANH
public class ActivationTANH
ActivationTANH: The hyperbolic tangent activation function takes the curved shape of the hyperbolic tangent. This activation function produces both positive and negative output. Use this activation function if both negative and positive output is desired.
| Constructor Summary | |
|---|---|
ActivationTANH()
|
|
| Method Summary | |
|---|---|
double |
activationFunction(double d)
A threshold function for a neural network. |
double |
derivativeFunction(double d)
Some training methods require the derivative. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivationTANH()
| Method Detail |
|---|
public double activationFunction(double d)
activationFunction in interface ActivationFunctiond - The input to the function.
public double derivativeFunction(double d)
derivativeFunction in interface ActivationFunctiond - The input.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||