public class CreateNeuralNetwork {
public static void process(File path) {
MLMethod network = null;
CreateNeuralNetworkDialog dialog = new CreateNeuralNetworkDialog(
EncogWorkBench.getInstance().getMainWindow());
dialog.setType(NeuralNetworkType.Feedforward);
if (dialog.process()) {
switch (dialog.getType()) {
case Automatic:
createAutomatic();
network=null;
break;
case Feedforward: