org.encog.util.benchmark
public final class RandomTrainingFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static BasicMLDataSet |
generate(long seed,
int count,
int inputCount,
int idealCount,
double min,
double max)
Generate a random training set.
|
static void |
generate(MLDataSet training,
long seed,
int count,
double min,
double max)
Generate random training into a training set.
|
public static BasicMLDataSet generate(long seed, int count, int inputCount, int idealCount, double min, double max)
seed - The seed value to use, the same seed value will always produce
the same results.count - How many training items to generate.inputCount - How many input numbers.idealCount - How many ideal numbers.min - The minimum random number.max - The maximum random number.public static void generate(MLDataSet training, long seed, int count, double min, double max)
training - The training set to generate into.seed - The seed to use.count - How much data to generate.min - The low random value.max - The high random value.Copyright © 2014. All Rights Reserved.