C# Class Encog.Normalize.Segregate.Index.IndexRangeSegregator

An index segregator is used to segregate the data according to its index. Nothing about the data is actually compared. This makes the index range segregator very useful for breaking the data into training and validation sets. For example, you could very easily determine that 70% of the data is for training, and 30% for validation. This segregator takes a starting and ending index. Everything that is between these two indexes will be used.
Inheritance: IndexSegregator
ファイルを表示 Open project: encog/encog-silverlight-core

Public Methods

Method Description
IndexRangeSegregator ( ) : System

Default constructor for reflection.

IndexRangeSegregator ( int startingIndex, int endingIndex ) : System

Construct an index range segregator.

ShouldInclude ( ) : bool

Determines if the current row should be included.

Method Details

IndexRangeSegregator() public method

Default constructor for reflection.
public IndexRangeSegregator ( ) : System
return System

IndexRangeSegregator() public method

Construct an index range segregator.
public IndexRangeSegregator ( int startingIndex, int endingIndex ) : System
startingIndex int The starting index to allow.
endingIndex int The ending index to allow.
return System

ShouldInclude() public method

Determines if the current row should be included.
public ShouldInclude ( ) : bool
return bool