commit ad02d15: [Conf] Update neural.conf

moisseev moiseev at mezonplus.ru
Thu Oct 24 16:35:06 UTC 2019


Author: Alexander Moisseev
Date: 2019-10-24 12:57:41 +0300
URL: https://github.com/rspamd/rspamd/commit/ad02d15edfe5cae341a73a6bdd3a94ec5ca0caff (refs/pull/3118/head)

[Conf] Update neural.conf

---
 conf/modules.d/neural.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/conf/modules.d/neural.conf b/conf/modules.d/neural.conf
index 7f3deeb4e..80db14552 100644
--- a/conf/modules.d/neural.conf
+++ b/conf/modules.d/neural.conf
@@ -18,8 +18,6 @@ neural {
   train {
     max_train = 1k; # Number of trains per epoch
     max_usages = 20; # Number of learn iterations while ANN data is valid
-    spam_score = 8; # Score to learn spam
-    ham_score = -2; # Score to learn ham
     learning_rate = 0.01; # Rate of learning (Torch only)
     max_iterations = 25; # Maximum iterations of learning (Torch only)
   }
@@ -34,4 +32,4 @@ neural {
   .include(try=true,priority=5) "${DBDIR}/dynamic/neural.conf"
   .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/neural.conf"
   .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/neural.conf"
-}
\ No newline at end of file
+}


More information about the Commits mailing list