aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-28 17:40:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-28 17:40:13 +0100
commitb562090c505b1cd9dd5d71734b6744b34c02f05c (patch)
tree093901163aae82e396b518f8b59c9a293a57c0df /test/functional/configs
parentf3d8644e634acd8aee912a7871b30d7836709243 (diff)
downloadrspamd-b562090c505b1cd9dd5d71734b6744b34c02f05c.tar.gz
rspamd-b562090c505b1cd9dd5d71734b6744b34c02f05c.zip
[Test] Add neural PCA tests
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/neural.conf18
1 files changed, 16 insertions, 2 deletions
diff --git a/test/functional/configs/neural.conf b/test/functional/configs/neural.conf
index 0a2ded95e..871a549fe 100644
--- a/test/functional/configs/neural.conf
+++ b/test/functional/configs/neural.conf
@@ -54,9 +54,23 @@ neural {
symbol_spam = "NEURAL_SPAM_SHORT";
symbol_ham = "NEURAL_HAM_SHORT";
ann_expire = 86400;
- watch_interval = 0.1;
+ watch_interval = 0.5;
+ }
+ SHORT_PCA {
+ train {
+ learning_rate = 0.001;
+ max_usages = 2;
+ spam_score = 1;
+ ham_score = -1;
+ max_trains = 10;
+ max_iterations = 250;
+ }
+ symbol_spam = "NEURAL_SPAM_SHORT_PCA";
+ symbol_ham = "NEURAL_HAM_SHORT_PCA";
+ ann_expire = 86400;
+ watch_interval = 0.5;
+ max_inputs = 2;
}
-
}
allow_local = true;