You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by to...@apache.org on 2012/11/18 16:42:52 UTC

svn commit: r1410905 - /labs/yay/trunk/core/src/main/java/org/apache/yay/BasicPerceptron.java

Author: tommaso
Date: Sun Nov 18 15:42:51 2012
New Revision: 1410905

URL: http://svn.apache.org/viewvc?rev=1410905&view=rev
Log:
added missing weight update

Modified:
    labs/yay/trunk/core/src/main/java/org/apache/yay/BasicPerceptron.java

Modified: labs/yay/trunk/core/src/main/java/org/apache/yay/BasicPerceptron.java
URL: http://svn.apache.org/viewvc/labs/yay/trunk/core/src/main/java/org/apache/yay/BasicPerceptron.java?rev=1410905&r1=1410904&r2=1410905&view=diff
==============================================================================
--- labs/yay/trunk/core/src/main/java/org/apache/yay/BasicPerceptron.java (original)
+++ labs/yay/trunk/core/src/main/java/org/apache/yay/BasicPerceptron.java Sun Nov 18 15:42:51 2012
@@ -59,6 +59,7 @@ public class BasicPerceptron implements 
                     currentWeights[i] -= inputs[i];
                 }
             }
+            perceptronNeuron.updateWeights(currentWeights);
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org