From a75380749cb238fa71c8a9c9cf4488fe77d0510e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 18 Jul 2016 11:28:04 +0100 Subject: Revert "[Minor] Fix percent sign in statistics learning condition" This reverts commit e53fd5ab0ce04b6eddb7ef24a1fccfd013c705d0. --- conf/statistic.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/statistic.conf b/conf/statistic.conf index b9b675776..17aa29d4b 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -57,10 +57,10 @@ return function(task, is_spam, is_unlearn) end if is_unlearn and (not in_class) then - return false,string.format('not in class %s; probability %.2f%%%%', + return false,string.format('not in class %s; probability %.2f%%', cl, math.abs((prob - 0.5) * 200.0)) elseif (not is_unlearn) and in_class then - return false,string.format('already in class %s; probability %.2f%%%%', + return false,string.format('already in class %s; probability %.2f%%', cl, math.abs((prob - 0.5) * 200.0)) end end -- cgit v1.2.3