mailcow/data/conf/rspamd/local.d/neural.conf
2018-05-19 00:14:30 +02:00

14 lines
549 B
Plaintext

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