C# Class Encog.Engine.Data.BasicEngineDataSet

Inheritance: IEngineIndexableSet
Mostrar archivo Open project: encog/encog-silverlight-core

Public Methods

Method Description
Add ( IEngineData inputData ) : void

Add a neural data pair to the list.

Add ( double d ) : void

Add input to the training set with no expected output. This is used for unsupervised training.

Add ( double inputData, double idealData ) : void

Add input and expected output. This is used for supervised training.

BasicEngineDataSet ( ) : System

Default constructor.

BasicEngineDataSet ( IList data ) : System

Construct a data set from an already created list. Mostly used to duplicate this class.

BasicEngineDataSet ( double input, double ideal ) : System

Construct a data set from an input and idea array.

GetRecord ( long index, IEngineData pair ) : void

Get a record by index into the specified pair.

OpenAdditional ( ) : IEngineIndexableSet

Create an additional data set. It will use the same list.

Method Details

Add() public method

Add a neural data pair to the list.
public Add ( IEngineData inputData ) : void
inputData IEngineData A NeuralDataPair object that contains both input and idealdata.
return void

Add() public method

Add input to the training set with no expected output. This is used for unsupervised training.
public Add ( double d ) : void
d double The input to be added to the training set.
return void

Add() public method

Add input and expected output. This is used for supervised training.
public Add ( double inputData, double idealData ) : void
inputData double The input data to train on.
idealData double The ideal data to use for training.
return void

BasicEngineDataSet() public method

Default constructor.
public BasicEngineDataSet ( ) : System
return System

BasicEngineDataSet() public method

Construct a data set from an already created list. Mostly used to duplicate this class.
public BasicEngineDataSet ( IList data ) : System
data IList The data to use.
return System

BasicEngineDataSet() public method

Construct a data set from an input and idea array.
public BasicEngineDataSet ( double input, double ideal ) : System
input double The input into the neural network for training.
ideal double The ideal output for training.
return System

GetRecord() public method

Get a record by index into the specified pair.
public GetRecord ( long index, IEngineData pair ) : void
index long The index to read.
pair IEngineData The pair to hold the data.
return void

OpenAdditional() public method

Create an additional data set. It will use the same list.
public OpenAdditional ( ) : IEngineIndexableSet
return IEngineIndexableSet