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
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

AddItem() public méthode

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.
Résultat void

Calculate() public méthode

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

OutputEquilateral() public méthode

Prodvide a default constructor for reflection.
public OutputEquilateral ( ) : System
Résultat System

OutputEquilateral() public méthode

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.
Résultat System

RowInit() public méthode

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

getHigh() public méthode

The high value of the range.
public getHigh ( ) : double
Résultat double

getLow() public méthode

The low value of the range.
public getLow ( ) : double
Résultat double