}
private static MLMethod createADALINE() {
CreateADALINEDialog dialog = new CreateADALINEDialog(EncogWorkBench
.getInstance().getMainWindow());
if (dialog.process()) {
ADALINEPattern adaline = new ADALINEPattern();
adaline.setInputNeurons(dialog.getNeuronCount().getValue());
adaline.setOutputNeurons(dialog.getElementCount().getValue());
return adaline.generate();
} else