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

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

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

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

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

Default constructor for reflection.
public IndexRangeSegregator ( ) : System
Результат System

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

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

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

Determines if the current row should be included.
public ShouldInclude ( ) : bool
Результат bool