The heaviside activation function
f(x) = 0 if 0>x f(x) = 1 if x>0
Constructor Summary | |
---|---|
HeavisideActivationFunction() |
Property Summary | |
---|---|
string |
Name
Get the name of the activation function |
Method Summary | |
---|---|
float |
Output(float x) Get the heaviside function value |
float |
OutputPrime(float x) Get the derivative function value Simulate an impulse at origin... |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public HeavisideActivationFunction()
Property Detail |
---|
public string Name
Get the name of the activation function
Method Detail |
---|
public float Output(float x)
Get the heaviside function value
Parameters:
x
- xpublic float OutputPrime(float x)
Get the derivative function value Simulate an impulse at origin...
Parameters:
x
- x