Comprehensive Model Comparison for Intrusion Detection in UNR-IDD Dataset: Evaluating Naïve Bayes, Decision Tree, Random Forest, K-Neighbors, and LSTM
This paper compares the efficiency of five supervised learning algorithms, Namely Naïve Bayes, Decision Tree, Random Forest, K-Neighbors (KNN), and Long Short-Term Memory (LSTM) on intrusion detection using the UNR-IDD dataset. We analysed the results of the models considering the accuracy, precision, and F1-score. The Decision Tree, Random Forest, and LSTM models were also shown to be the best performers with scores of 1 for accuracy, F1-score, and area under the curve on the testing set. The Naïve Bayes yielded low standard error of 0.038165 but the precise values of precision at 0.773218 and F1-score at 0.872107 depict how the model contributed slightly fewer true positives but more false positives. From such outcomes obtained above, it is evident that Decision Tree, Random Forest and LSTM have high accuracy and appropriateness for this intrusion detection problem, although the accuracies of 100\% are questionable because of the possibilities of over fitting. In terms of classification too, K-Neighbors has very good results and rarely misclassifies patterns. Despite this, Naïve Bayes is not the most suitable method in the present case for this particular dataset. This analysis also demonstrates the specific advantages and disadvantages of each model and gives the understanding of real-world usability of intrusion detection systems.
Authors
- Muhammad Zulkifl Hasan (ORCID: https://orcid.org/0000-0002-2733-5527)
- Muzzamil Mustafa (ORCID: https://orcid.org/0000-0002-4896-0305)
- Muhammad Zunnurain Hussain (ORCID: https://orcid.org/0000-0002-6071-1029)
- Muhammad Yaqub
- Hoor Fatima Yousaf
- Hooria Umar
Institutions
- Information Technology University (PK)
- University of Engineering and Technology Lahore (PK)
- University of Central Punjab (PK)
- University of Management and Technology (PK)
- National College of Business Administration and Economics (PK)
- Bahria University (PK)
Publication Details
- Journal
- VAWKUM Transactions on Computer Sciences
- Published
- 2024-12-31
- DOI
- https://doi.org/10.21015/vtcs.v12i2.1929
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00