C# Class Encog.Util.Arrayutil.NormalizedField

Mostra file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Analyze ( double d ) : void

Analyze the specified value. Adjust min/max as needed. Usually used only internally.

DeNormalize ( double v ) : double

Denormalize the specified value.

DetermineClass ( double data ) : ClassItem

Determine what class the specified data belongs to.

EncodeHeaders ( ) : String

Encode the headers used by this field.

EncodeSingleField ( int classNumber ) : String

Encode a single field.

FixSingleValue ( ) : void

Fix normalized fields that have a single value for the min/max. Separate them by 2 units.

Init ( ) : void

Init any internal structures.

Lookup ( String str ) : int

Lookup the specified field.

MakeClass ( NormalizationAction theAction, String cls, double high, double low ) : void

Create a field that will be used to hold a class.

MakeClass ( NormalizationAction theAction, int classFrom, int classTo, int high, int low ) : void

Make a field to hold a class. Use a numeric range for class items.

MakePassThrough ( ) : void

Make this a pass-through field.

Normalize ( double v ) : double

Normalize the specified value.

NormalizedField ( ) : System

Construct the object with a range of 1 and -1.

NormalizedField ( NormalizationAction theAction, String theName ) : System

Construct an object.

NormalizedField ( NormalizationAction theAction, String theName, double ahigh, double alow, double nhigh, double nlow ) : System

Construct the field, with no defaults.

NormalizedField ( String theName, NormalizationAction theAction, double high, double low ) : System

Construct the object.

NormalizedField ( double theNormalizedHigh, double theNormalizedLow ) : System

Construct the object.

ToString ( ) : String

Method Details

Analyze() public method

Analyze the specified value. Adjust min/max as needed. Usually used only internally.
public Analyze ( double d ) : void
d double The value to analyze.
return void

DeNormalize() public method

Denormalize the specified value.
public DeNormalize ( double v ) : double
v double The value to normalize.
return double

DetermineClass() public method

Determine what class the specified data belongs to.
public DetermineClass ( double data ) : ClassItem
data double The data to analyze.
return ClassItem

EncodeHeaders() public method

Encode the headers used by this field.
public EncodeHeaders ( ) : String
return String

EncodeSingleField() public method

Encode a single field.
public EncodeSingleField ( int classNumber ) : String
classNumber int The class number to encode.
return String

FixSingleValue() public method

Fix normalized fields that have a single value for the min/max. Separate them by 2 units.
public FixSingleValue ( ) : void
return void

Init() public method

Init any internal structures.
public Init ( ) : void
return void

Lookup() public method

Lookup the specified field.
public Lookup ( String str ) : int
str String The name of the field to lookup.
return int

MakeClass() public method

Create a field that will be used to hold a class.
public MakeClass ( NormalizationAction theAction, String cls, double high, double low ) : void
theAction NormalizationAction The action for this field.
cls String The class items.
high double The output high value.
low double The output low value.
return void

MakeClass() public method

Make a field to hold a class. Use a numeric range for class items.
public MakeClass ( NormalizationAction theAction, int classFrom, int classTo, int high, int low ) : void
theAction NormalizationAction The action to take.
classFrom int The beginning class item.
classTo int The ending class item.
high int The output high value.
low int The output low value.
return void

MakePassThrough() public method

Make this a pass-through field.
public MakePassThrough ( ) : void
return void

Normalize() public method

Normalize the specified value.
public Normalize ( double v ) : double
v double The value to normalize.
return double

NormalizedField() public method

Construct the object with a range of 1 and -1.
public NormalizedField ( ) : System
return System

NormalizedField() public method

Construct an object.
public NormalizedField ( NormalizationAction theAction, String theName ) : System
theAction NormalizationAction The desired action.
theName String The name of this column.
return System

NormalizedField() public method

Construct the field, with no defaults.
public NormalizedField ( NormalizationAction theAction, String theName, double ahigh, double alow, double nhigh, double nlow ) : System
theAction NormalizationAction The normalization action to take.
theName String The name of this field.
ahigh double The actual high.
alow double The actual low.
nhigh double The normalized high.
nlow double The normalized low.
return System

NormalizedField() public method

Construct the object.
public NormalizedField ( String theName, NormalizationAction theAction, double high, double low ) : System
theName String The name of the field.
theAction NormalizationAction The action of the field.
high double The high end of the range for the field.
low double The low end of the range for the field.
return System

NormalizedField() public method

Construct the object.
public NormalizedField ( double theNormalizedHigh, double theNormalizedLow ) : System
theNormalizedHigh double The normalized high.
theNormalizedLow double The normalized low.
return System

ToString() public final method

public final ToString ( ) : String
return String