From 9106fba8f60aa344a2258fadb4a456589360fae0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 12 Nov 2017 23:24:15 +0000 Subject: [Minor] Tune default parameters for fann module --- conf/modules.d/fann_redis.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conf/modules.d/fann_redis.conf') diff --git a/conf/modules.d/fann_redis.conf b/conf/modules.d/fann_redis.conf index 36e9e3743..f12224d48 100644 --- a/conf/modules.d/fann_redis.conf +++ b/conf/modules.d/fann_redis.conf @@ -15,12 +15,14 @@ fann_redis { #servers = 127.0.0.1:6379; # Redis server to store learning data and ANN + train { - max_train = 10k; # Number of trains per epoch - max_usages = 10; # Number of learn iterations while ANN data is valid + max_train = 1k; # Number of trains per epoch + max_usages = 20; # Number of learn iterations while ANN data is valid spam_score = 8; # Score to learn spam ham_score = -2; # Score to learn ham } + timeout = 20; # Increase redis timeout enabled = false; # Explicitly disable module use_settings = false; # If enabled, then settings-id could switch this module to another FANN -- cgit v1.2.3