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