|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.benchmark.RandomTrainingFactory
public final class RandomTrainingFactory
Class used to generate random training sets. This will always generate the same number outputs, as it always uses the same seed values. This allows for the consistent results needed by the benchmark.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |