}
private static MLMethod createPNN() {
CreatePNN dialog = new CreatePNN();
if( dialog.process() ) {
PNNPattern pattern = new PNNPattern();
pattern.setInputNeurons(dialog.getInputCount().getValue());
pattern.setOutputNeurons(dialog.getOutputCount().getValue());
pattern.setKernel(dialog.getKernelType());
pattern.setOutmodel(dialog.getOutputModel());
return pattern.generate();
}
return null;
}