From: Vsevolod Stakhov Date: Fri, 6 May 2016 09:05:15 +0000 (+0100) Subject: [Fix] Reduce the default thresholds for learning X-Git-Tag: 1.3.0~536 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a73e8142a2db92b30d5078234a4d50942ce01c3;p=rspamd.git [Fix] Reduce the default thresholds for learning Issue: #624 Reported by: @moisseev --- 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