From 9a73e8142a2db92b30d5078234a4d50942ce01c3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 6 May 2016 10:05:15 +0100 Subject: [PATCH] [Fix] Reduce the default thresholds for learning Issue: #624 Reported by: @moisseev --- conf/statistic.conf | 4 ++-- 1 file 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 -- 2.39.5