org.encog.ml.data.versatile.division
Class PerformDataDivision
- java.lang.Object
-
- org.encog.ml.data.versatile.division.PerformDataDivision
-
public class PerformDataDivision extends java.lang.ObjectPerform a data division.
-
-
Constructor Summary
Constructors Constructor and Description PerformDataDivision(boolean theShuffle, GenerateRandom theRandom)Construct the data division processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description GenerateRandomgetRandom()booleanisShuffle()voidperform(java.util.List<DataDivision> dataDivisionList, VersatileMLDataSet dataset, int inputCount, int idealCount)Perform the split.
-
-
-
Constructor Detail
-
PerformDataDivision
public PerformDataDivision(boolean theShuffle, GenerateRandom theRandom)Construct the data division processor.- Parameters:
theShuffle- Should we shuffle?theRandom- Random number generator, often seeded to be consistent.
-
-
Method Detail
-
perform
public void perform(java.util.List<DataDivision> dataDivisionList, VersatileMLDataSet dataset, int inputCount, int idealCount)
Perform the split.- Parameters:
dataDivisionList- The list of data divisions.dataset- The dataset to split.inputCount- The input count.idealCount- The ideal count.
-
isShuffle
public boolean isShuffle()
- Returns:
- the shuffle
-
getRandom
public GenerateRandom getRandom()
- Returns:
- the rnd
-
-
DMelt 3.0 © DataMelt by jWork.ORG