private static MLMethod createBoltzmann() {
CreateBlotzmannDialog dialog = new CreateBlotzmannDialog(EncogWorkBench
.getInstance().getMainWindow());
if (dialog.process()) {
BoltzmannPattern boltz = new BoltzmannPattern();
boltz.setInputNeurons(dialog.getNeuronCount().getValue());
return boltz.generate();
} else
return null;
}