Examples of MomentumBackpropagation


Examples of org.neuroph.nnet.learning.MomentumBackpropagation

    // set input and output cells for network
                  NeuralNetworkFactory.setDefaultIO(this);

                  // set learnng rule
    //this.setLearningRule(new BackPropagation(this));
    this.setLearningRule(new MomentumBackpropagation());
               // this.setLearningRule(new DynamicBackPropagation());
   
    // flatten the network, if desired
    if( Neuroph.getInstance().shouldFlattenNetworks() ) {
      FlatNetworkPlugin.flattenNeuralNetworkNetwork(this);
View Full Code Here

Examples of org.neuroph.nnet.learning.MomentumBackpropagation

               
                // set learning rule
                if (learningRule.getName().equals(BackPropagation.class.getName()))  {
                    nnet.setLearningRule(new BackPropagation());
                } else if (learningRule.getName().equals(MomentumBackpropagation.class.getName())) {
                    nnet.setLearningRule(new MomentumBackpropagation());
                } else if (learningRule.getName().equals(DynamicBackPropagation.class.getName())) {
                    nnet.setLearningRule(new DynamicBackPropagation());
                }

                // connect io
View Full Code Here

Examples of org.neuroph.nnet.learning.MomentumBackpropagation

    neuralNetwork.setLabel(label);
    PluginBase imageRecognitionPlugin = new ImageRecognitionPlugin(samplingResolution, colorMode);
    neuralNetwork.addPlugin(imageRecognitionPlugin);

    assignLabelsToOutputNeurons(neuralNetwork, imageLabels);
                neuralNetwork.setLearningRule(new MomentumBackpropagation());

            return neuralNetwork;
  }
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.