Open Access iconOpen Access



Intrusion Detection System Using FKNN and Improved PSO

Raniyah Wazirali*

College of Computing and Informatics, Saudi Electronic University, Saudi Arabia, Riyadh

* Corresponding Author: Raniyah Wazirali. Email: email

Computers, Materials & Continua 2021, 67(2), 1429-1445.


Intrusion detection system (IDS) techniques are used in cybersecurity to protect and safeguard sensitive assets. The increasing network security risks can be mitigated by implementing effective IDS methods as a defense mechanism. The proposed research presents an IDS model based on the methodology of the adaptive fuzzy k-nearest neighbor (FKNN) algorithm. Using this method, two parameters, i.e., the neighborhood size (k) and fuzzy strength parameter (m) were characterized by implementing the particle swarm optimization (PSO). In addition to being used for FKNN parametric optimization, PSO is also used for selecting the conditional feature subsets for detection. To proficiently regulate the indigenous and comprehensive search skill of the PSO approach, two control parameters containing the time-varying inertia weight (TVIW) and time-varying acceleration coefficients (TVAC) were applied to the system. In addition, continuous and binary PSO algorithms were both executed on a multi-core platform. The proposed IDS model was compared with other state-of-the-art classifiers. The results of the proposed methodology are superior to the rest of the techniques in terms of the classification accuracy, precision, recall, and f-score. The results showed that the proposed methods gave the highest performance scores compared to the other conventional algorithms in detecting all the attack types in two datasets. Moreover, the proposed method was able to obtain a large number of true positives and negatives, with minimal number of false positives and negatives.


Cite This Article

APA Style
Wazirali, R. (2021). Intrusion detection system using FKNN and improved PSO. Computers, Materials & Continua, 67(2), 1429-1445.
Vancouver Style
Wazirali R. Intrusion detection system using FKNN and improved PSO. Comput Mater Contin. 2021;67(2):1429-1445
IEEE Style
R. Wazirali, "Intrusion Detection System Using FKNN and Improved PSO," Comput. Mater. Contin., vol. 67, no. 2, pp. 1429-1445. 2021.


cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2331


  • 1427


  • 0


Share Link