C# 클래스 Encog.Normalize.Output.Nominal.OutputOneOf

An output field that uses the "on of" technique to represent input data. For example, if there were five nominal items, or classes, given then each one would be represented by a single output neuron that would be on or off. Often the OutputEquilateral class is a better choice to represent nominal items.
상속: BasicOutputField
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
AddItem ( IInputField inputField, double value ) : void

Add a nominal value specifying a single value, the high and low values will be 0.5 below and 0.5 above.

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

Add a nominal item, specify the low and high values.

Calculate ( int subfield ) : double

Calculate the value for the specified subfield.

OutputOneOf ( ) : System

Default constructor for reflection.

OutputOneOf ( double trueValue, double falseValue ) : System

Construct a one-of field and specify the true and false value.

RowInit ( ) : void

Not needed for this sort of output field.

getTrueValue ( ) : double

The true value.

메소드 상세

AddItem() 공개 메소드

Add a nominal value specifying a single value, the high and low values will be 0.5 below and 0.5 above.
public AddItem ( IInputField inputField, double value ) : void
inputField IInputField The input field to use.
value double The value to calculate the high and low values off of.
리턴 void

AddItem() 공개 메소드

Add a nominal item, specify the low and high values.
public AddItem ( IInputField inputField, double low, double high ) : void
inputField IInputField The input field to base everything from.
low double The high value for this nominal item.
high double The low value for this nominal item.
리턴 void

Calculate() 공개 메소드

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

OutputOneOf() 공개 메소드

Default constructor for reflection.
public OutputOneOf ( ) : System
리턴 System

OutputOneOf() 공개 메소드

Construct a one-of field and specify the true and false value.
public OutputOneOf ( double trueValue, double falseValue ) : System
trueValue double The true value.
falseValue double The false value.
리턴 System

RowInit() 공개 메소드

Not needed for this sort of output field.
public RowInit ( ) : void
리턴 void

getTrueValue() 공개 메소드

The true value.
public getTrueValue ( ) : double
리턴 double