2019-10-12 19:14:34 +08:00
|
|
|
rules {
|
|
|
|
"LONG" {
|
|
|
|
train {
|
|
|
|
max_trains = 200;
|
|
|
|
max_usages = 20;
|
|
|
|
max_iterations = 25;
|
|
|
|
learning_rate = 0.01,
|
|
|
|
}
|
|
|
|
symbol_spam = "NEURAL_SPAM_LONG";
|
|
|
|
symbol_ham = "NEURAL_HAM_LONG";
|
|
|
|
ann_expire = 45d;
|
|
|
|
}
|
|
|
|
"SHORT" {
|
|
|
|
train {
|
|
|
|
max_trains = 100;
|
|
|
|
max_usages = 10;
|
|
|
|
max_iterations = 15;
|
|
|
|
learning_rate = 0.01,
|
|
|
|
}
|
|
|
|
symbol_spam = "NEURAL_SPAM_SHORT";
|
|
|
|
symbol_ham = "NEURAL_HAM_SHORT";
|
|
|
|
ann_expire = 7d;
|
|
|
|
}
|
2018-05-17 03:26:05 +08:00
|
|
|
}
|