mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
29 lines
561 B
Plaintext
29 lines
561 B
Plaintext
rules {
|
|
"LONG" {
|
|
train {
|
|
max_trains = 800;
|
|
max_usages = 20;
|
|
max_iterations = 25;
|
|
learning_rate = 0.01,
|
|
spam_score = 9;
|
|
ham_score = -4;
|
|
}
|
|
symbol_spam = "NEURAL_SPAM_LONG";
|
|
symbol_ham = "NEURAL_HAM_LONG";
|
|
ann_expire = 100d;
|
|
}
|
|
"SHORT" {
|
|
train {
|
|
max_trains = 90;
|
|
max_usages = 2;
|
|
max_iterations = 25;
|
|
learning_rate = 0.02,
|
|
spam_score = 9;
|
|
ham_score = -4;
|
|
}
|
|
symbol_spam = "NEURAL_SPAM_SHORT";
|
|
symbol_ham = "NEURAL_HAM_SHORT";
|
|
ann_expire = 7d;
|
|
}
|
|
}
|