@Override public NeuralNetwork<? extends LearningRule> createNeuralNetwork(WizardDescriptor settings) { String neuralNetworkName = (String) settings.getProperty("neural network name"); int kohonenInputNeurons = Integer.parseInt((String) settings.getProperty("input number")); int kohonenMapNeurons = Integer.parseInt((String) settings.getProperty("map number")); Kohonen nnet5 = NeuralNetworkFactory.createKohonen(kohonenInputNeurons, kohonenMapNeurons); nnet5.setLabel(neuralNetworkName); KohonenVisualPanel1.getInstance().clearForm(); return nnet5; }
@Override public Component getComponent() { return KohonenVisualPanel1.getInstance(); }