org.encog.ml.data.versatile.division
public class PerformDataDivision extends Object
Constructor and Description |
---|
PerformDataDivision(boolean theShuffle,
GenerateRandom theRandom)
Construct the data division processor.
|
Modifier and Type | Method and Description |
---|---|
GenerateRandom |
getRandom() |
boolean |
isShuffle() |
void |
perform(List<DataDivision> dataDivisionList,
VersatileMLDataSet dataset,
int inputCount,
int idealCount)
Perform the split.
|
public PerformDataDivision(boolean theShuffle, GenerateRandom theRandom)
theShuffle
- Should we shuffle?theRandom
- Random number generator, often seeded to be consistent.public void perform(List<DataDivision> dataDivisionList, VersatileMLDataSet dataset, int inputCount, int idealCount)
dataDivisionList
- The list of data divisions.dataset
- The dataset to split.inputCount
- The input count.idealCount
- The ideal count.public boolean isShuffle()
public GenerateRandom getRandom()
Copyright © 2014. All Rights Reserved.