C# Class Encog.Normalize.Output.Nominal.OutputEquilateral

Allows nominal items to be encoded using the equilateral method. This maps the nominal items into an array of input or output values minus 1. This can sometimes provide a more accurate representation than the "one of" method. Based on: Guiver and Klimasauskas (1991).
Inheritance: BasicOutputField
Datei anzeigen Open project: encog/encog-silverlight-core

Public Methods

Method Description
AddItem ( IInputField inputField, double value ) : void

Add a nominal value based on a single value. This creates a 0.1 range around this value.

AddItem ( IInputField inputField, double low, double high ) : void

Add a nominal item based on a range.

Calculate ( int subfield ) : double

Calculate the value for the specified subfield.

OutputEquilateral ( ) : System

Prodvide a default constructor for reflection.

OutputEquilateral ( double high, double low ) : System

Create an equilateral output field with the specified high and low output values. These will often be 0 to 1 or -1 to 1.

RowInit ( ) : void

Determine which item's index is the value.

getHigh ( ) : double

The high value of the range.

getLow ( ) : double

The low value of the range.

Method Details

AddItem() public method

Add a nominal value based on a single value. This creates a 0.1 range around this value.
public AddItem ( IInputField inputField, double value ) : void
inputField IInputField The input field this is based on.
value double The value.
return void

AddItem() public method

Add a nominal item based on a range.
public AddItem ( IInputField inputField, double low, double high ) : void
inputField IInputField The input field to use.
low double The low value of the range.
high double The high value of the range.
return void

Calculate() public method

Calculate the value for the specified subfield.
public Calculate ( int subfield ) : double
subfield int The subfield to calculate for.
return double

OutputEquilateral() public method

Prodvide a default constructor for reflection.
public OutputEquilateral ( ) : System
return System

OutputEquilateral() public method

Create an equilateral output field with the specified high and low output values. These will often be 0 to 1 or -1 to 1.
public OutputEquilateral ( double high, double low ) : System
high double The high output value.
low double The low output value.
return System

RowInit() public method

Determine which item's index is the value.
public RowInit ( ) : void
return void

getHigh() public method

The high value of the range.
public getHigh ( ) : double
return double

getLow() public method

The low value of the range.
public getLow ( ) : double
return double