[Rspamd] Slight changes to neural
This commit is contained in:
		@@ -2,7 +2,7 @@ rules {
 | 
				
			|||||||
  "LONG" {
 | 
					  "LONG" {
 | 
				
			||||||
    train {
 | 
					    train {
 | 
				
			||||||
      max_trains = 800;
 | 
					      max_trains = 800;
 | 
				
			||||||
      max_usages = 20;
 | 
					      max_usages = 40;
 | 
				
			||||||
      max_iterations = 25;
 | 
					      max_iterations = 25;
 | 
				
			||||||
      learning_rate = 0.01,
 | 
					      learning_rate = 0.01,
 | 
				
			||||||
      spam_score = 9;
 | 
					      spam_score = 9;
 | 
				
			||||||
@@ -10,14 +10,14 @@ rules {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    symbol_spam = "NEURAL_SPAM_LONG";
 | 
					    symbol_spam = "NEURAL_SPAM_LONG";
 | 
				
			||||||
    symbol_ham = "NEURAL_HAM_LONG";
 | 
					    symbol_ham = "NEURAL_HAM_LONG";
 | 
				
			||||||
    ann_expire = 100d;
 | 
					    ann_expire = 31d;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  "SHORT" {
 | 
					  "SHORT" {
 | 
				
			||||||
    train {
 | 
					    train {
 | 
				
			||||||
      max_trains = 90;
 | 
					      max_trains = 90;
 | 
				
			||||||
      max_usages = 2;
 | 
					      max_usages = 20;
 | 
				
			||||||
      max_iterations = 25;
 | 
					      max_iterations = 15;
 | 
				
			||||||
      learning_rate = 0.02,
 | 
					      learning_rate = 0.01,
 | 
				
			||||||
      spam_score = 9;
 | 
					      spam_score = 9;
 | 
				
			||||||
      ham_score = -4;
 | 
					      ham_score = -4;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user