C# Class Encog.Util.Banchmark.RandomTrainingFactory

ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Generate ( long seed, int count, int inputCount, int idealCount, double min, double max ) : BasicMLDataSet

Generate a random training set.

Generate ( IMLDataSet training, long seed, int count, double min, double max ) : void

Generate random training into a training set.

Private Methods

Method Description
RandomTrainingFactory ( ) : Encog.MathUtil

Private constructor.

Method Details

Generate() public static method

Generate a random training set.
public static Generate ( long seed, int count, int inputCount, int idealCount, double min, double max ) : BasicMLDataSet
seed long The seed value to use, the same seed value will always produce /// the same results.
count int How many training items to generate.
inputCount int How many input numbers.
idealCount int How many ideal numbers.
min double The minimum random number.
max double The maximum random number.
return BasicMLDataSet

Generate() public static method

Generate random training into a training set.
public static Generate ( IMLDataSet training, long seed, int count, double min, double max ) : void
training IMLDataSet The training set to generate into.
seed long The seed to use.
count int How much data to generate.
min double The low random value.
max double The high random value.
return void