You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by hs...@apache.org on 2007/04/12 17:49:15 UTC
svn commit: r527990 - in /spamassassin/trunk: CREDITS masses/perceptron.c
Author: hstern
Date: Thu Apr 12 08:49:14 2007
New Revision: 527990
URL: http://svn.apache.org/viewvc?view=rev&rev=527990
Log:
Removing myself from the active committers list.
Modified:
spamassassin/trunk/CREDITS
spamassassin/trunk/masses/perceptron.c
Modified: spamassassin/trunk/CREDITS
URL: http://svn.apache.org/viewvc/spamassassin/trunk/CREDITS?view=diff&rev=527990&r1=527989&r2=527990
==============================================================================
--- spamassassin/trunk/CREDITS (original)
+++ spamassassin/trunk/CREDITS Thu Apr 12 08:49:14 2007
@@ -23,7 +23,6 @@
- Kevin A. McGrail
- Robert Menschel
- John Gardiner Myers
- - Henry Stern
Inactive committers:
@@ -36,6 +35,7 @@
- Matthew Cline
- Craig Hughes http://www.amazon.com/o/registry/1G97F2FF1AWCK
- Matt Sergeant
+ - Henry Stern
- Matt Yackley
Spamc credits:
Modified: spamassassin/trunk/masses/perceptron.c
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/perceptron.c?view=diff&rev=527990&r1=527989&r2=527990
==============================================================================
--- spamassassin/trunk/masses/perceptron.c (original)
+++ spamassassin/trunk/masses/perceptron.c Thu Apr 12 08:49:14 2007
@@ -347,12 +347,12 @@
/* compute the error gradient for the logsig node with least squares error */
#ifdef LEAST_SQUARES_ERROR
error = is_spam[random_test] - y_out;
- delta = y_out * (1-y_out) * error / (num_tests_hit[random_test]+1) * learning_rate;
+ delta = y_out * (1-y_out) * error / (1+num_mutable) * learning_rate;
#else
/* compute the error gradient for the tanh node with entropic error */
#ifdef ENTROPIC_ERROR
error = (2.0*is_spam[random_test]-1) - y_out;
- delta = error / (num_tests_hit[random_test]+1) * learning_rate;
+ delta = error / (1+num_mutable) * learning_rate;
#endif
#endif