count = Integer.parseInt(str);
} catch (NumberFormatException e) {
EncogWorkBench.displayError("Error",
"Must enter a valid number.");
}
TemporalXOR temp = new TemporalXOR();
BasicMLDataSet trainingData = (BasicMLDataSet) temp
.generate(count);
File targetFile = new File(EncogWorkBench.getInstance()
.getProjectDirectory(), name);
EncogUtility.saveCSV(targetFile, CSVFormat.ENGLISH, trainingData);
}