Method | Description | |
---|---|---|
BernoulliFunction ( ) : System |
Initializes a new instance of the BernoulliFunction class.
|
|
BernoulliFunction ( double alpha ) : System |
Initializes a new instance of the BernoulliFunction class.
|
|
Derivative ( double x ) : double |
Calculates function derivative. The method calculates function derivative at point x. |
|
Derivative2 ( double y ) : double |
Calculates function derivative. The method calculates the same derivative value as the Derivative method, but it takes not the input x value itself, but the function value, which was calculated previously with the help of Function method. |
|
Function ( double x ) : double |
Calculates function value. The method calculates function value at point x. |
|
Generate ( double x ) : double |
Samples a value from the function given a input value.
|
|
Generate2 ( double y ) : double |
Samples a value from the function given a function output value. The method calculates the same output value as the Generate method, but it takes not the input x value itself, but the function value, which was calculated previously with help of the IActivationFunction.Function(double) method. |
public BernoulliFunction ( double alpha ) : System | ||
alpha | double | Sigmoid's alpha value. Default is 1. |
return | System |
public Derivative ( double x ) : double | ||
x | double | Function input value. |
return | double |
public Derivative2 ( double y ) : double | ||
y | double | Function output value - the value, which was obtained
/// with the help of |
return | double |
public Function ( double x ) : double | ||
x | double | Function input value. |
return | double |
public Generate ( double x ) : double | ||
x | double | Function input value. |
return | double |
public Generate2 ( double y ) : double | ||
y | double | The function output value. This is the value which was obtained
/// with the help of the |
return | double |