C# Class Encog.Engine.Network.Activation.ActivationRamp

Inheritance: IActivationFunction
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
ActivationFunction ( double x, int start, int size ) : void
ActivationRamp ( ) : System

Default constructor.

ActivationRamp ( double thresholdHigh, double thresholdLow, double high, double low ) : System

Construct a ramp activation function.

Clone ( ) : object

Clone the object.

DerivativeFunction ( double b, double a ) : double
HasDerivative ( ) : bool

True, as this function does have a derivative.

Method Details

ActivationFunction() public method

public ActivationFunction ( double x, int start, int size ) : void
x double
start int
size int
return void

ActivationRamp() public method

Default constructor.
public ActivationRamp ( ) : System
return System

ActivationRamp() public method

Construct a ramp activation function.
public ActivationRamp ( double thresholdHigh, double thresholdLow, double high, double low ) : System
thresholdHigh double The high threshold value.
thresholdLow double The low threshold value.
high double The high value, replaced if the high threshold is exceeded.
low double The low value, replaced if the low threshold is exceeded.
return System

Clone() public method

Clone the object.
public Clone ( ) : object
return object

DerivativeFunction() public method

public DerivativeFunction ( double b, double a ) : double
b double
a double
return double

HasDerivative() public method

True, as this function does have a derivative.
public HasDerivative ( ) : bool
return bool