C# Class AForge.Neuro.ThresholdFunction

Threshold activation function.

The class represents threshold activation function with the next expression: f(x) = 1, if x >= 0, otherwise 0

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

Functions graph:

Inheritance: IActivationFunction
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

Derivative ( double x ) : double

Calculates function derivative (not supported).

The method is not supported, because it is not possible to calculate derivative of the function.

Derivative2 ( double y ) : double

Calculates function derivative (not supported).

The method is not supported, because it is not possible to calculate derivative of the function.

Function ( double x ) : double

Calculates function value.

The method calculates function value at point x.

ThresholdFunction ( ) : System

Initializes a new instance of the ThresholdFunction class.

Method Details

Clone() public méthode

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Résultat object

Derivative() public méthode

Calculates function derivative (not supported).

The method is not supported, because it is not possible to calculate derivative of the function.

public Derivative ( double x ) : double
x double Input value.
Résultat double

Derivative2() public méthode

Calculates function derivative (not supported).

The method is not supported, because it is not possible to calculate derivative of the function.

public Derivative2 ( double y ) : double
y double Input value.
Résultat double

Function() public méthode

Calculates function value.
The method calculates function value at point x.
public Function ( double x ) : double
x double Function input value.
Résultat double

ThresholdFunction() public méthode

Initializes a new instance of the ThresholdFunction class.
public ThresholdFunction ( ) : System
Résultat System