public class ExponentialLinearFunction extends java.lang.Object implements IActivationFunction
| Constructor and Description |
|---|
ExponentialLinearFunction()
Initializes a new instance of the ExponentialLinearFunction class.
|
ExponentialLinearFunction(double alpha)
Initializes a new instance of the ExponentialLinearFunction class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Compute(double x)
Compute the activation function.
|
double |
getAlpha()
Get alpha parameter.
|
void |
setAlpha(double alpha)
Set alpha parameter.
|
public ExponentialLinearFunction()
public ExponentialLinearFunction(double alpha)
alpha - Alpha.public double getAlpha()
public void setAlpha(double alpha)
alpha - Alpha parameter.public double Compute(double x)
IActivationFunctionCompute in interface IActivationFunctionx - Value.