aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/neural.conf
blob: a6abad3e0d9f0bbbb93bb0e641bfbb971f6840b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
neural {
  rules {
      SHORT {
          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";
          symbol_ham = "NEURAL_HAM_SHORT";
          ann_expire = 86400;
          watch_interval = 0.1;
      }

  }
  allow_local = true;

}
redis {
  servers = "${REDIS_ADDR}:${REDIS_PORT}";
  expand_keys = true;
}

lua = "${TESTDIR}/lua/neural.lua";