From 5edbf6e0549d08e51dcb33590900e04e015c64e7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 7 Mar 2018 14:00:11 +0000 Subject: [PATCH] [Minor] Set more sane defaults --- lualib/rspamadm/rescore.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua index ae61a58ba..fb1428694 100644 --- a/lualib/rspamadm/rescore.lua +++ b/lualib/rspamadm/rescore.lua @@ -366,16 +366,16 @@ local default_opts = { batch_size = 1000, optimization = 'ADAM', learning_rate_decay = 0.001, - momentum = 0.0, + momentum = 0.1, l1 = 0.0, l2 = 0.0, } local learning_rates = { - 0.01, 0.05, 0.1 + 0.01 } local penalty_weights = { - 0, 0.001, 0.01, 0.1, 0.5 + 0 } local function override_defaults(def, override) -- 2.39.5