C# Class Accord.Statistics.Links.CauchitLinkFunction

Inheritance: ILinkFunction
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
CauchitLinkFunction ( ) : System

Creates a new Cauchit link function.

CauchitLinkFunction ( double beta, double constant ) : System

Creates a new Cauchit link function.

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 Cauchit link function in terms of y = f(x) is given by f'(y) = B / (x * x + 1)

Derivative2 ( double y ) : double

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

The first derivative of the Cauchit link function in terms of y = f(x) is given by f'(y) = B / (tan((y - A) / B)² + 1)

Function ( double x ) : double

The Cauchit link function.

The Cauchit link function is given by f(x) = tan((x - A) / B).

Inverse ( double x ) : double

The Cauchit mean (activation) function.

The inverse Cauchit link function is given by g(x) = tan(x) * B + A.

Log ( double x ) : double

The logarithm of the inverse of the link function.

Method Details

CauchitLinkFunction() public method

Creates a new Cauchit link function.
public CauchitLinkFunction ( ) : System
return System

CauchitLinkFunction() public method

Creates a new Cauchit link function.
public CauchitLinkFunction ( double beta, double constant ) : System
beta double The beta value. Default is 1/pi.
constant double The constant value. Default is 0.5.
return System

Clone() public method

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

Derivative() public method

First derivative of the Inverse function.
The first derivative of the Cauchit link function in terms of y = f(x) is given by f'(y) = B / (x * x + 1)
public Derivative ( double x ) : double
x double The input value.
return double

Derivative2() public method

First derivative of the mean function expressed in terms of it's output.
The first derivative of the Cauchit link function in terms of y = f(x) is given by f'(y) = B / (tan((y - A) / B)² + 1)
public Derivative2 ( double y ) : double
y double The reverse transformed value.
return double

Function() public method

The Cauchit link function.
The Cauchit link function is given by f(x) = tan((x - A) / B).
public Function ( double x ) : double
x double An input value.
return double

Inverse() public method

The Cauchit mean (activation) function.
The inverse Cauchit link function is given by g(x) = tan(x) * B + A.
public Inverse ( double x ) : double
x double A transformed value.
return double

Log() public method

The logarithm of the inverse of the link function.
public Log ( double x ) : double
x double A transformed value.
return double