Research Article

A Hybrid Swarm Intelligence Algorithm for Intrusion Detection Using Significant Features

Algorithm 2

Single feature selection method.
Input: Dataset with Features
Output: Vital features
Begin
Let = , where represents the number of features in the dataset.
for
=   //one dimensional feature vector
 Apply SVM classifier
Sort features based on classifier accuracy (acc)
If acc > acc_threshold and detection rate > dr_threshold then
Select the features
End