|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectactivationFunction.HardLimitActivationFunction
public class HardLimitActivationFunction
Hard Limit Activation Funciton return 1 if input value is greater then threshold and 0 otherwise. It allows a neuron to make a decision or classification.
| Constructor Summary | |
|---|---|
HardLimitActivationFunction(double p)
Creates a new instance of HardLimitActivationFunction with specified parameters p |
|
| Method Summary | |
|---|---|
double[] |
getParamateres()
Return array contains parameters list |
double |
getValue(double inputValue)
Return 1 if input value is greater then p and 0 otherwise |
void |
setParameteres(double[] paramateresList)
Set parameters for 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 HardLimitActivationFunction(double p)
p - threshold of hard limit| Method Detail |
|---|
public void setParameteres(double[] paramateresList)
setParameteres in interface ActivationFunctionModelparamateresList - Array of parameterspublic double[] getParamateres()
getParamateres in interface ActivationFunctionModelpublic double getValue(double inputValue)
getValue in interface ActivationFunctionModelinputValue - input Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||