hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Update of "Neuron" by edwardyoon
Date Fri, 03 Jul 2015 00:11:10 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The "Neuron" page has been changed by edwardyoon:
https://wiki.apache.org/hama/Neuron?action=diff&rev1=4&rev2=5

      ann.setMomemtumWeight(0.1);
  
      // initialize the topology of the model and set the activation function and parallel
degree.
-     ann.addLayer(featureDimension, false, Sigmoid.class, numOfTasks);
+     ann.addLayer(featureDimension, Sigmoid.class, numOfTasks);
-     ann.addLayer(featureDimension, false, Sigmoid.class, numOfTasks);
+     ann.addLayer(featureDimension, Sigmoid.class, numOfTasks);
-     ann.addLayer(labelDimension, true, Sigmoid.class, numOfTasks);
+     ann.addLayer(labelDimension, Sigmoid.class, numOfTasks);
    
      // set the cost function to evaluate the error
      ann.setCostFunction(CrossEntropy.class);

Mime
View raw message