public class LinearActivationFunction extends Object implements ActivationFunctionModel
| Constructor and Description |
|---|
LinearActivationFunction()
Creates a new instance of LinearActivationFunction with default parameters set a=1, b=0
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getParamateres()
Return parameters of the Linear Activation function.
|
double |
getValue(double inputValue)
Return value y of Linear Activation function for specified input value x.
|
void |
setParameteres(double[] paramateresList)
Set the parameters of function.
|
public LinearActivationFunction()
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 valueDataMelt-1.1. http://jwork.org/dmelt/ ©