|
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.ActivationLinear
public class ActivationLinear
ActivationLinear: The Linear layer is really not an activation function at all. The input is simply passed on, unmodified, to the output. This activation function is primarily theoretical and of little actual use. Usually an activation function that scales between 0 and 1 or -1 and 1 should be used.
| Constructor Summary | |
|---|---|
ActivationLinear()
|
|
| 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 ActivationLinear()
| 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 | ||||||||