1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-14 10:52:49 +02:00
mailcow-dockerized/data/conf/rspamd/local.d/neural.conf
2018-05-18 21:39:25 +02:00

15 lines
579 B
Plaintext

servers = "31.47.234.2:6379";
train {
max_train = 1k; # Number of trains per epoch
max_usages = 50; # Number of learn iterations while ANN data is valid
spam_score = 12; # Score to learn spam
ham_score = -7; # Score to learn ham
learning_rate = 0.01; # Rate of learning (Torch only)
max_iterations = 25; # Maximum iterations of learning (Torch only)
}
ann_expire = 80d;
timeout = 20; # Increase redis timeout
enabled = ${HAS_TORCH}; # Explicitly disable module when torch is disabled
use_settings = false; # If enabled, then settings-id is used to dispatch networks