C# Class AForge.Neuro.BipolarSigmoidFunction

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

Méthodes publiques

Méthode Description
BipolarSigmoidFunction ( ) : System

Initializes a new instance of the SigmoidFunction class.

BipolarSigmoidFunction ( double alpha ) : System

Initializes a new instance of the BipolarSigmoidFunction class.

Clone ( ) : object

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

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.

Some applications require as function value, as derivative value, so they can save the amount of calculations using this method to calculate derivative.

Function ( double x ) : double

Calculates function value.

The method calculates function value at point x.

Method Details

BipolarSigmoidFunction() public méthode

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

BipolarSigmoidFunction() public méthode

Initializes a new instance of the BipolarSigmoidFunction class.
public BipolarSigmoidFunction ( double alpha ) : System
alpha double Sigmoid's alpha value.
Résultat System

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.
The method calculates function derivative at point x.
public Derivative ( double x ) : double
x double Function input value.
Résultat double

Derivative2() public méthode

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.

Some applications require as function value, as derivative value, so they can save the amount of calculations using this method to calculate derivative.

public Derivative2 ( double y ) : double
y double Function output value - the value, which was obtained /// with the help of method.
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