boolean init = dialog.getInitWeights().getValue();
TrainInstar train = new TrainInstar((CPN)file.getObject(),trainingData,learnRate,init);
startup(file,train, dialog.getMaxError().getValue()/100.0);
}
} else if (sel.getSelected() == selectOutstar) {
InputOutstar dialog = new InputOutstar();
if (dialog.process()) {
double learnRate = dialog.getLearningRate().getValue();
TrainOutstar train = new TrainOutstar((CPN)file.getObject(),trainingData,learnRate);
startup(file,train, dialog.getMaxError().getValue()/100.0);
}
}
}