C# Class Accord.Statistics.Links.IdentityLinkFunction

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

Public Methods

Method Description
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) = B.

Derivative2 ( double y ) : double

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

The first derivative of the identity link function in terms of y = f(x) is given by f'(y) = B.

Function ( double x ) : double

The Identity link function.

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

IdentityLinkFunction ( ) : System

Creates a new Identity link function.

IdentityLinkFunction ( double beta, double constant ) : System

Creates a new Identity link function.

Inverse ( double x ) : double

The mean function.

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

Log ( double x ) : double

The logarithm of the inverse of the link function.

Method Details

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 identity link function is given by f'(x) = B.
public Derivative ( double x ) : double
x double The input value.
return double

Derivative2() public method

First derivative of the Inverse function expressed in terms of it's output.
The first derivative of the identity link function in terms of y = f(x) is given by f'(y) = B.
public Derivative2 ( double y ) : double
y double The reverse transformed value.
return double

Function() public method

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

IdentityLinkFunction() public method

Creates a new Identity link function.
public IdentityLinkFunction ( ) : System
return System

IdentityLinkFunction() public method

Creates a new Identity link function.
public IdentityLinkFunction ( double beta, double constant ) : System
beta double The variance value.
constant double The mean value.
return System

Inverse() public method

The mean function.
The inverse Identity link function is given by g(x) = B * x + 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