Package org.neuroph.nnet.learning

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


               
                // 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

    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

Related Classes of org.neuroph.nnet.learning.MomentumBackpropagation

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.