|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.engine.network.activation.ActivationBipolarSteepenedSigmoid
public class ActivationBipolarSteepenedSigmoid
The bipolar sigmoid activation function is like the regular sigmoid activation function, except Bipolar sigmoid activation function. TheOutput range is -1 to 1 instead of the more normal 0 to 1. This activation is typically part of a CPPN neural network, such as HyperNEAT. The idea for this activation function was developed by Ken Stanley, of the University of Texas at Austin. http://www.cs.ucf.edu/~kstanley/
| Constructor Summary | |
|---|---|
ActivationBipolarSteepenedSigmoid()
|
|
| Method Summary | |
|---|---|
void |
activationFunction(double[] d,
int start,
int size)
Implements the activation function. |
ActivationFunction |
clone()
|
double |
derivativeFunction(double b,
double a)
Calculate the derivative. |
String |
getFactoryCode()
|
String[] |
getParamNames()
|
double[] |
getParams()
|
boolean |
hasDerivative()
|
void |
setParam(int index,
double value)
Set one of the params for this activation function. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivationBipolarSteepenedSigmoid()
| Method Detail |
|---|
public void activationFunction(double[] d,
int start,
int size)
activationFunction in interface ActivationFunctiond - The input array to the activation function.start - The starting index.size - The number of values to calculate.
public double derivativeFunction(double b,
double a)
derivativeFunction in interface ActivationFunctionb - The number to calculate the derivative of, the number "before" the
activation function was applied.a - The number "after" an activation function has been applied.
public boolean hasDerivative()
hasDerivative in interface ActivationFunctionpublic double[] getParams()
getParams in interface ActivationFunction
public void setParam(int index,
double value)
setParam in interface ActivationFunctionindex - The index of the param to set.value - The value to set.public String[] getParamNames()
getParamNames in interface ActivationFunctionpublic final ActivationFunction clone()
clone in interface ActivationFunctionclone in class Objectpublic String getFactoryCode()
getFactoryCode in interface ActivationFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||