C# 클래스 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:

상속: IActivationFunction
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Clone() 공개 메소드

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
리턴 object

Derivative() 공개 메소드

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.
리턴 double

Derivative2() 공개 메소드

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.
리턴 double

Function() 공개 메소드

Calculates function value.
The method calculates function value at point x.
public Function ( double x ) : double
x double Function input value.
리턴 double

ThresholdFunction() 공개 메소드

Initializes a new instance of the ThresholdFunction class.
public ThresholdFunction ( ) : System
리턴 System