aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-06 10:05:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-06 10:05:15 +0100
commit9a73e8142a2db92b30d5078234a4d50942ce01c3 (patch)
treecf6024db57399cc9108da66c4a0fa96a908cf7ac /conf
parent5c040a0e5edeedc9237e8cd0b9a464fc7ecd1946 (diff)
downloadrspamd-9a73e8142a2db92b30d5078234a4d50942ce01c3.tar.gz
rspamd-9a73e8142a2db92b30d5078234a4d50942ce01c3.zip
[Fix] Reduce the default thresholds for learning
Issue: #624 Reported by: @moisseev
Diffstat (limited to 'conf')
-rw-r--r--conf/statistic.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index e574d0027..513b0c510 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -50,10 +50,10 @@ return function(task, is_spam, is_unlearn)
local cl
if is_spam then
cl = 'spam'
- in_class = prob >= 0.9
+ in_class = prob >= 0.95
else
cl = 'ham'
- in_class = prob <= 0.1
+ in_class = prob <= 0.05
end
if is_unlearn and (not in_class) then