C# Class Accord.Statistics.Analysis.ContrastFunctions.Logcosh

Inheritance: IContrastFunction
Datei anzeigen Open project: accord-net/framework

Public Methods

Method Description
Evaluate ( double x, double output, double derivative ) : void

Contrast function.

Logcosh ( ) : System

Initializes a new instance of the Logcosh class.

Logcosh ( double alpha ) : System

Initializes a new instance of the Logcosh class.

Method Details

Evaluate() public method

Contrast function.
public Evaluate ( double x, double output, double derivative ) : void
x double The vector of observations.
output double At method's return, this parameter /// should contain the evaluation of function over the vector /// of observations .
derivative double At method's return, this parameter /// should contain the evaluation of function derivative over /// the vector of observations .
return void

Logcosh() public method

Initializes a new instance of the Logcosh class.
public Logcosh ( ) : System
return System

Logcosh() public method

Initializes a new instance of the Logcosh class.
public Logcosh ( double alpha ) : System
alpha double The log-cosh alpha constant. Default is 1.
return System