|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectactivationFunction.SymetricHardLimitActivationFunction
public class SymetricHardLimitActivationFunction
Symetric Hard Limit function return 1 if input value is greater then threshold and -1 otherwise.
Constructor Summary | |
---|---|
SymetricHardLimitActivationFunction(double p)
Creates a new instance of SymetricHardLimitActivationFunction with specified paremeter p |
Method Summary | |
---|---|
double[] |
getParamateres()
Return array contains parameters list |
double |
getValue(double inputValue)
Return 1 if input value is greater then p and -1 otherwise. |
void |
setParameteres(double[] paramateresList)
Set parameters of Hard limit activation funciton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SymetricHardLimitActivationFunction(double p)
p
- threhsoldMethod Detail |
---|
public void setParameteres(double[] paramateresList)
setParameteres
in interface ActivationFunctionModel
paramateresList
- Array of parameterspublic double[] getParamateres()
getParamateres
in interface ActivationFunctionModel
public double getValue(double inputValue)
getValue
in interface ActivationFunctionModel
inputValue
- input Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |