2018-05-19 03:39:25 +08:00
|
|
|
train {
|
|
|
|
max_train = 1k; # Number of trains per epoch
|
|
|
|
max_usages = 50; # Number of learn iterations while ANN data is valid
|
|
|
|
spam_score = 12; # Score to learn spam
|
|
|
|
ham_score = -7; # Score to learn ham
|
|
|
|
learning_rate = 0.01; # Rate of learning (Torch only)
|
|
|
|
max_iterations = 25; # Maximum iterations of learning (Torch only)
|
2018-05-17 03:26:05 +08:00
|
|
|
}
|
2018-05-19 03:39:25 +08:00
|
|
|
ann_expire = 80d;
|
|
|
|
timeout = 20; # Increase redis timeout
|
2018-07-30 05:03:49 +08:00
|
|
|
enabled = false;
|
2018-05-19 03:39:25 +08:00
|
|
|
use_settings = false; # If enabled, then settings-id is used to dispatch networks
|
|
|
|
|