Research Article
A Hybrid Swarm Intelligence Algorithm for Intrusion Detection Using Significant Features
Algorithm 3
Random feature selection method.
Input: Dataset with Features | Output: Vital features | Begin | Let = , where represents the number of features in the dataset | Let = | : do | Delete from | //update feature subset | Apply SVM classifier | Delete from | end | Sort the features based on classifier accuracy (acc) | If acc > acc_threshold and detection rate > dr_threshold then | //selecting vital features | End |
|