mailcow-dockerized/data/conf/rspamd/local.d/neural.conf

14 lines
491 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 = false;
use_settings = false; # If enabled, then settings-id is used to dispatch networks