* @param seed The seed for random generation.
*/
public void holdBackValidation(double validationPercent, boolean shuffle,
int seed) {
List<DataDivision> dataDivisionList = new ArrayList<DataDivision>();
dataDivisionList.add(new DataDivision(1.0 - validationPercent));// Training
dataDivisionList.add(new DataDivision(validationPercent));// Validation
this.dataset.divide(dataDivisionList, shuffle,
new MersenneTwisterGenerateRandom(seed));
this.trainingDataset = dataDivisionList.get(0).getDataset();
this.validationDataset = dataDivisionList.get(1).getDataset();
}