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

Méthodes publiques

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

Default constructor for reflection.
public IndexRangeSegregator ( ) : System
Résultat System

IndexRangeSegregator() public méthode

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

ShouldInclude() public méthode

Determines if the current row should be included.
public ShouldInclude ( ) : bool
Résultat bool