C# Класс Accord.Neuro.ActivationFunctions.GaussianFunction

Наследование: IStochasticFunction
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

GaussianFunction ( ) : System

Creates a new GaussianFunction.

GaussianFunction ( double alpha ) : System

Creates a new GaussianFunction.

GaussianFunction ( double alpha, DoubleRange range ) : System

Initializes a new instance of the GaussianFunction class.

Generate ( double x ) : double

Samples a value from the function given a input value.

Generate2 ( double y ) : double

Samples a value from the function given a function output value.

Описание методов

Derivative() публичный Метод

Calculates function derivative.
The method calculates function derivative at point x.
public Derivative ( double x ) : double
x double Function input value.
Результат double

Derivative2() публичный Метод

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.
Результат double

Function() публичный Метод

Calculates function value.
The method calculates function value at point x.
public Function ( double x ) : double
x double Function input value.
Результат double

GaussianFunction() публичный Метод

Creates a new GaussianFunction.
public GaussianFunction ( ) : System
Результат System

GaussianFunction() публичный Метод

Creates a new GaussianFunction.
public GaussianFunction ( double alpha ) : System
alpha double The linear slope value. Default is 1.
Результат System

GaussianFunction() публичный Метод

Initializes a new instance of the GaussianFunction class.
public GaussianFunction ( double alpha, DoubleRange range ) : System
alpha double
range AForge.DoubleRange
Результат System

Generate() публичный Метод

Samples a value from the function given a input value.
public Generate ( double x ) : double
x double Function input value.
Результат double

Generate2() публичный Метод

Samples a value from the function given a function output value.
public Generate2 ( double y ) : double
y double Function output value - the value, which was obtained /// with the help of method.
Результат double