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);
