Package org.encog.workbench.dialogs.training.methods

Examples of org.encog.workbench.dialogs.training.methods.InputSOM


    SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
        .getMainWindow(), list);
    sel.setVisible(true);

    if (sel.getSelected() == selectBasicSOM) {
      InputSOM somDialog = new InputSOM();

      if (somDialog.process()) {
        BasicTrainSOM train = new BasicTrainSOM((SOM) file.getObject(),
            somDialog.getLearningRate().getValue(), trainingData,
            somDialog.getNeighborhoodFunction());
        train.setForceWinner(somDialog.getForceWinner().getValue());
        startup(file, train, somDialog.getMaxError().getValue() / 100.0);
      }
    } else if (sel.getSelected() == selectSOMClusterCopy) {
      SOMClusterCopyTraining train = new SOMClusterCopyTraining(
          (SOM) file.getObject(), trainingData);
      train.iteration();
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.training.methods.InputSOM

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.