C# Класс Accord.Statistics.Links.LogitLinkFunction

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

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

Метод Описание
Clone ( ) : object

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

Derivative ( double x ) : double

First derivative of the Inverse function.

The first derivative of the identity link function is given by f'(x) = y * (1.0 - y) where y = f(x) is the Logit function.

Derivative2 ( double y ) : double

First derivative of the mean function expressed in terms of it's output.

The first derivative of the Logit link function in terms of y = f(x) is given by y * (1.0 - y).

Function ( double x ) : double

The Logit link function.

The inverse Logit link function is given by f(x) = (Math.Log(x / (1.0 - x)) - A) / B.

Inverse ( double x ) : double

The Logit mean (activation) function.

The inverse Logit link function is given by g(x) = 1.0 / (1.0 + Math.Exp(-z) in which z = B * x + A.

Log ( double x ) : double

The logarithm of the inverse of the link function.

LogitLinkFunction ( ) : System

Initializes a new instance of the LogitLinkFunction class.

LogitLinkFunction ( double beta, double constant ) : System

Creates a new Logit link function.

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

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

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Результат object

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

First derivative of the Inverse function.
The first derivative of the identity link function is given by f'(x) = y * (1.0 - y) where y = f(x) is the Logit function.
public Derivative ( double x ) : double
x double The input value.
Результат double

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

First derivative of the mean function expressed in terms of it's output.
The first derivative of the Logit link function in terms of y = f(x) is given by y * (1.0 - y).
public Derivative2 ( double y ) : double
y double The reverse transformed value.
Результат double

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

The Logit link function.
The inverse Logit link function is given by f(x) = (Math.Log(x / (1.0 - x)) - A) / B.
public Function ( double x ) : double
x double An input value.
Результат double

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

The Logit mean (activation) function.
The inverse Logit link function is given by g(x) = 1.0 / (1.0 + Math.Exp(-z) in which z = B * x + A.
public Inverse ( double x ) : double
x double A transformed value.
Результат double

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

The logarithm of the inverse of the link function.
public Log ( double x ) : double
x double A transformed value.
Результат double

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

Initializes a new instance of the LogitLinkFunction class.
public LogitLinkFunction ( ) : System
Результат System

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

Creates a new Logit link function.
public LogitLinkFunction ( double beta, double constant ) : System
beta double The beta value. Default is 1.
constant double The constant value. Default is 0.
Результат System