diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-07 14:00:11 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-07 14:00:11 +0000 |
commit | 5edbf6e0549d08e51dcb33590900e04e015c64e7 (patch) | |
tree | e755141383aee3ec614284d417773c3b6f3d5b43 /lualib/rspamadm | |
parent | ecce86ebf9054de2ae14afbdd2d0f17060eca331 (diff) | |
download | rspamd-5edbf6e0549d08e51dcb33590900e04e015c64e7.tar.gz rspamd-5edbf6e0549d08e51dcb33590900e04e015c64e7.zip |
[Minor] Set more sane defaults
Diffstat (limited to 'lualib/rspamadm')
-rw-r--r-- | lualib/rspamadm/rescore.lua | 6 |
1 files 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) |