diff options
Diffstat (limited to 'conf/modules.d/fann_redis.conf')
-rw-r--r-- | conf/modules.d/fann_redis.conf | 6 |
1 files changed, 4 insertions, 2 deletions
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 |