C# Class Encog.ML.Data.Folded.FoldedDataSet

A folded data set allows you to "fold" the data into several equal(or nearly equal) datasets. You then have the ability to select which fold the dataset will process. This is very useful for crossvalidation. This dataset works off of an underlying dataset. By default there are no folds (fold size 1). Call the fold method to create more folds.
Inheritance: IMLDataSet
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Add ( IMLData data1 ) : void

Not supported.

Add ( IMLData inputData, IMLData idealData ) : void

Not supported.

Add ( IMLDataPair inputData ) : void

Not supported.

Close ( ) : void

Close the dataset.

Fold ( int numFolds ) : void

Fold the dataset. Must be done before the dataset is used.

FoldedDataSet ( IMLDataSet underlying ) : System

Create a folded dataset.

GetEnumerator ( ) : IEnumerator

Get an enumberator.

GetRecord ( long index, IMLDataPair pair ) : void

Get a record.

OpenAdditional ( ) : IMLDataSet

Open an additional dataset.

Method Details

Add() public method

Not supported.
public Add ( IMLData data1 ) : void
data1 IMLData Not used.
return void

Add() public method

Not supported.
public Add ( IMLData inputData, IMLData idealData ) : void
inputData IMLData Not used.
idealData IMLData Not used.
return void

Add() public method

Not supported.
public Add ( IMLDataPair inputData ) : void
inputData IMLDataPair Not used.
return void

Close() public method

Close the dataset.
public Close ( ) : void
return void

Fold() public method

Fold the dataset. Must be done before the dataset is used.
public Fold ( int numFolds ) : void
numFolds int The number of folds.
return void

FoldedDataSet() public method

Create a folded dataset.
public FoldedDataSet ( IMLDataSet underlying ) : System
underlying IMLDataSet The underlying folded dataset.
return System

GetEnumerator() public method

Get an enumberator.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetRecord() public method

Get a record.
public GetRecord ( long index, IMLDataPair pair ) : void
index long The index.
pair IMLDataPair The record.
return void

OpenAdditional() public method

Open an additional dataset.
public OpenAdditional ( ) : IMLDataSet
return IMLDataSet