public class SymetricHardLimitActivationFunction extends Object implements ActivationFunctionModel
| Constructor and Description |
|---|
SymetricHardLimitActivationFunction(double p)
Creates a new instance of SymetricHardLimitActivationFunction with specified parameter p
|
| Modifier and Type | Method and Description |
|---|---|
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 function
|
public SymetricHardLimitActivationFunction(double p)
p - thresholdpublic 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 ValueSCaVis 2.2 ©