summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-06 17:20:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-06 17:20:32 +0000
commite1901b85b62d1c7c49045b770bf017e03f5ee7b8 (patch)
tree3386d1b98d1fc75ada9a3de5363aa3f84a33a929
parent5e9608de5af030ff5ea0ff2303b2f6263c0749e2 (diff)
downloadrspamd-e1901b85b62d1c7c49045b770bf017e03f5ee7b8.tar.gz
rspamd-e1901b85b62d1c7c49045b770bf017e03f5ee7b8.zip
[Minor] Silence bloody lua-check
-rw-r--r--lualib/rspamadm/rescore.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua
index 448c36257..c1b7a620e 100644
--- a/lualib/rspamadm/rescore.lua
+++ b/lualib/rspamadm/rescore.lua
@@ -355,8 +355,6 @@ local function train(dataset, opt, model, criterion, epoch,
logger.messagex('confusion: %s', tostring(confusion))
logger.messagex('%s mean class accuracy (train set)', confusion.totalValid * 100)
confusion:zero()
-
- epoch = epoch + 1
end