Threshold activation function.

Namespace:  AForge.Neuro
Assembly:  AForge.Neuro (in AForge.Neuro.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
[SerializableAttribute]
public class ThresholdFunction : IActivationFunction, 
	ICloneable

Remarks

The class represents threshold activation function with the next expression:

Copy 
f(x) = 1, if x >= 0, otherwise 0

Output range of the function: [0, 1].

Functions graph:

Inheritance Hierarchy

System..::.Object
  AForge.Neuro..::.ThresholdFunction

See Also