Examples of IncrementalPruneTab


Examples of org.encog.workbench.tabs.incremental.IncrementalPruneTab

      pattern.setInputNeurons(training.getInputSize());
      pattern.setOutputNeurons(training.getIdealSize());
   
     
      pattern.setActivationFunction(dialog.getActivationFunction());     
      IncrementalPruneTab tab = new IncrementalPruneTab(
          dialog.getIterations().getValue(),
          dialog.getWeightTries().getValue(),
          dialog.getWindowSize().getValue(),
          training,
          pattern);
     
      for (int i = 0; i < dialog.getHidden().getModel().size(); i++) {
        String str = (String) dialog.getHidden().getModel()
            .getElementAt(i);
       
        String lowStr = BotUtil.extract(str,"low=",".",0);
        String highStr = BotUtil.extract(str,"high=",",",0);
        int low = Integer.parseInt(lowStr);
        int high = Integer.parseInt(highStr);
       
        tab.addHiddenRange(low,high);
      }
     
     

      EncogWorkBench.getInstance().getMainWindow().getTabManager().openModalTab(tab, "Incremental Prune");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.