return null;
}
private static MLMethod createElman() {
CreateElmanDialog dialog = new CreateElmanDialog(EncogWorkBench
.getInstance().getMainWindow());
if (dialog.process()) {
ElmanPattern elman = new ElmanPattern();
elman.setInputNeurons(dialog.getInputCount().getValue());
elman.addHiddenLayer(dialog.getHiddenCount().getValue());
elman.setOutputNeurons(dialog.getOutputCount().getValue());
elman.setActivationFunction(new ActivationTANH());
return elman.generate();
} else
return null;