Research Article
WEB DDoS Attack Detection Method Based on Semisupervised Learning
(1) | Input: training set | (2) | Learning algorithm A | (3) | Training argument m | (4) | Output: strong classifier f(x) | (5) | begin | (6) | for t = 1, 2, …, T do | (7) | Produced bootstrap samples set and named St | (8) | Train a decision tree Tj on St | (9) | while the number of samples corresponding to the leaf node is greater than nmindo | (10) | Randomly select k variables from all optional d variables | (11) | Select from these k variables the variables that can lead to the optimal partition | (12) | Divide the node into two subnodes according to the best variable selected above | (13) | end | (14) | end | (15) | Aggregate m decision trees | (16) | end |
|