[Rspamd] Various fixes for Rspamd 2.0, neural network activated, autolearning activated (auto-keeps a ratio)

This commit is contained in:
andryyy
2019-10-12 13:14:34 +02:00
parent 8783ec4415
commit ee57b5921f
5 changed files with 52 additions and 24 deletions

View File

@@ -1,10 +1,18 @@
symbols = {
"NEURAL_SPAM" {
weight = 4.0; # sample weight
description = "Neural network spam";
"NEURAL_SPAM_LONG" {
weight = 3.7; # sample weight
description = "Neural network spam (long)";
}
"NEURAL_HAM" {
"NEURAL_HAM_LONG" {
weight = -4.0; # sample weight
description = "Neural network ham";
description = "Neural network ham (long)";
}
"NEURAL_SPAM_SHORT" {
weight = 2.5; # sample weight
description = "Neural network spam (short)";
}
"NEURAL_HAM_SHORT" {
weight = -2.0; # sample weight
description = "Neural network ham (short)";
}
}