Examples of changeNeuronCount()


Examples of org.encog.neural.prune.PruneSelective.changeNeuronCount()

        int newInputCount = dialog.getInputCount().getValue();
        int newOutputCount = dialog.getOutputCount().getValue();

        // did input neurons change?
        if (newInputCount != network.getInputCount()) {
          prune.changeNeuronCount(0, newInputCount);
        }

        // did output neurons change?
        if (newOutputCount != network.getOutputCount()) {
          prune.changeNeuronCount(0, newOutputCount);
View Full Code Here

Examples of org.encog.neural.prune.PruneSelective.changeNeuronCount()

          prune.changeNeuronCount(0, newInputCount);
        }

        // did output neurons change?
        if (newOutputCount != network.getOutputCount()) {
          prune.changeNeuronCount(0, newOutputCount);
        }

        // did the hidden layers change?
        for (int i = 0; i < network.getLayerCount() - 2; i++) {
          int newHiddenCount = 1;
View Full Code Here

Examples of org.encog.neural.prune.PruneSelective.changeNeuronCount()

            newHiddenCount = Integer.parseInt(str);
          }

          // did this hidden layer change?
          if (network.getLayerNeuronCount(i) != newHiddenCount) {
            prune.changeNeuronCount(i + 1, newHiddenCount);
          }
        }
      }
      setDirty(true);
      produceReport();
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.