commit 1907319: [Conf] Neural: Fix the default name for max_trains

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jun 23 10:28:08 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-06-23 11:15:11 +0100
URL: https://github.com/rspamd/rspamd/commit/19073199ff19c32479c74b150b68419e7c450917

[Conf] Neural: Fix the default name for max_trains

---
 conf/modules.d/neural.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/modules.d/neural.conf b/conf/modules.d/neural.conf
index 80db14552..2ab0cbe49 100644
--- a/conf/modules.d/neural.conf
+++ b/conf/modules.d/neural.conf
@@ -16,7 +16,7 @@ neural {
   #servers = 127.0.0.1:6379; # Redis server to store learning data and ANN
 
   train {
-    max_train = 1k; # Number of trains per epoch
+    max_trains = 1k; # Number of trains per epoch
     max_usages = 20; # Number of learn iterations while ANN data is valid
     learning_rate = 0.01; # Rate of learning (Torch only)
     max_iterations = 25; # Maximum iterations of learning (Torch only)


More information about the Commits mailing list