C# Класс 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).
Наследование: BasicOutputField
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AddItem() публичный Метод

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.
Результат void

AddItem() публичный Метод

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.
Результат void

Calculate() публичный Метод

Calculate the value for the specified subfield.
public Calculate ( int subfield ) : double
subfield int The subfield to calculate for.
Результат double

OutputEquilateral() публичный Метод

Prodvide a default constructor for reflection.
public OutputEquilateral ( ) : System
Результат System

OutputEquilateral() публичный Метод

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.
Результат System

RowInit() публичный Метод

Determine which item's index is the value.
public RowInit ( ) : void
Результат void

getHigh() публичный Метод

The high value of the range.
public getHigh ( ) : double
Результат double

getLow() публичный Метод

The low value of the range.
public getLow ( ) : double
Результат double