Botnet Detection Using Support Vector Machines with Artificial Fish Swarm Algorithm
Table 3
Parameters of AFSA.
Parameter name
Definition
Distance
The distance between is obtained through formula (1). Those two fish have the same number of features, , and if the first feature of is 0 and the first feature of is 0, then the distance between will remain the same. But if the first feature of is different from the first feature of , the distance between will be plus one. The distance between two fish is the sum of the differences of every feature: distance (1)
Vision
The visibility of a fish and also the maximum distance that this fish can move. In other words, it is the maximum number of features that one fish can be change
Neighbor
The neighbor of is all the fish that are in ’s vision; if the distance between and is greater than 0 and less than or equal to vision, is the neighbor of . It is obtained through formula (2): (2)
Center
The center of is the center of ’s neighbor. It can be considered as a fish; the center feature is obtained through formula (3); if more than half ’s neighbors’ feature are 0, then the center of ’s feature will be 0, and vice versa: (3)
Crowded degree
The crowded degree of is to represent the density of ’s position; it is obtained through formula (4): (4)
The maximum crowded degree
The limited number of crowded degree: if the crowded degree of is greater than the limited number, then other fish cannot approach .