aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-08 16:02:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-08 16:02:45 +0000
commitc17368ed729788433d28b7116764e29dd84e2f86 (patch)
treed25ab25aaaf121a3c4747dbbd70b5f8c8c260f79 /conf
parent42952fac4d300b78334ea81c5387aa4955e8fd96 (diff)
downloadrspamd-c17368ed729788433d28b7116764e29dd84e2f86.tar.gz
rspamd-c17368ed729788433d28b7116764e29dd84e2f86.zip
[Minor] Some adjustments to neural module
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/neural.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/modules.d/neural.conf b/conf/modules.d/neural.conf
index 296ee2f2a..1c27403bf 100644
--- a/conf/modules.d/neural.conf
+++ b/conf/modules.d/neural.conf
@@ -21,6 +21,8 @@ neural {
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)
}
timeout = 20; # Increase redis timeout