📄 Peer-Reviewed Academic Output
Year: 2023
👁️ 2 Clicks
Analysis of K- Nearest Neighbor for Network Intrusion Detection
Abstract & Summary
Computer network Intrusion is an unauthorised
action or activity on a network. The threat of
intrusions on cyber-security has grown significantly
recently. Various techniques are used to counteract
these dangers with some levels of detection
accuracy. This study models and assesses the
performance of k- Nearest Neighbor (KNN) for
intrusion detection. An online intrusion detection
dataset of National State and Local Knowledge
Discovery in Database (NSL-KDD) from Kaggle
was used for the assessment comprising 43 features
and instances of both normal and abnormal data
streams. The model is implemented in python and
assessed using Precision, Recall, and F1 score. The
assessment results show 99.996% accuracy and
1.00 respectively for Precision, Recall and F1 Score
for the 2-class classification (normal and abnormal)
and 99.988% and also 1.00 respectively for
Precision, Recall and F1 Score for each of the
abnormal multi-class classification (Denial of
service, Remote to user Attack, User to root, and
probe), except for the User to root class that records
a Precision of 9.99. These results suggest that KNN
is an effective algorithm for intrusion detection both
for the binary and multi class classification. and,
therefore, should be adopted for developing an
intrusion detection system.
action or activity on a network. The threat of
intrusions on cyber-security has grown significantly
recently. Various techniques are used to counteract
these dangers with some levels of detection
accuracy. This study models and assesses the
performance of k- Nearest Neighbor (KNN) for
intrusion detection. An online intrusion detection
dataset of National State and Local Knowledge
Discovery in Database (NSL-KDD) from Kaggle
was used for the assessment comprising 43 features
and instances of both normal and abnormal data
streams. The model is implemented in python and
assessed using Precision, Recall, and F1 score. The
assessment results show 99.996% accuracy and
1.00 respectively for Precision, Recall and F1 Score
for the 2-class classification (normal and abnormal)
and 99.988% and also 1.00 respectively for
Precision, Recall and F1 Score for each of the
abnormal multi-class classification (Denial of
service, Remote to user Attack, User to root, and
probe), except for the User to root class that records
a Precision of 9.99. These results suggest that KNN
is an effective algorithm for intrusion detection both
for the binary and multi class classification. and,
therefore, should be adopted for developing an
intrusion detection system.
Publication Details
| Principal Author | Prof. Mba Obasi Odim (Professor) |
|---|---|
| Journal / Venue | iJournals: International Journal of Software & Hardware Research in Engineering (IJSHRE) |
| Publication Year | 2023 |
| Article Clicks / Reads | 2 readers clicked (View Article) |
| DOI (Digital Object Identifier) | Not assigned / Not provided |
| Article / Publisher Link | https://ijournals.in/wp-content/uploads/2023/06/6.IJSHRE-110508-Odim.pdf ↗ |
| Department | Computer Science and Mathematics |
| College / Faculty | College of Basic and Applied Sciences |
| Institution | Mountain Top University, Nigeria |
📋 APA 7th Edition Citation
Odim, M. O. (2023). Analysis of K- Nearest Neighbor for Network Intrusion Detection. iJournals: International Journal of Software & Hardware Research in Engineering (IJSHRE). https://ijournals.in/wp-content/uploads/2023/06/6.IJSHRE-110508-Odim.pdf