}
}
private static void createNewEGB(File file)
{
CreateEmptyTrainingDialog dialog = new CreateEmptyTrainingDialog(
EncogWorkBench.getInstance().getMainWindow());
if (dialog.process()) {
int elements = dialog.getElements().getValue();
int input = dialog.getInput().getValue();
int output = dialog.getIdeal().getValue();
BufferedNeuralDataSet trainingData = new BufferedNeuralDataSet(file);
MLDataPair pair = BasicMLDataPair.createPair(input,
output);