Generating key points…
Answers are grounded in this paper and cite their sources.
Machine learning (ML) is an important approach to network intrusion detection, although classifier performance varies across datasets and evaluation conditions. This study compares three classical ML classifiers, Decision Tree (DT), Random Forest (RF), and Support Vector Machine (SVM) with a radial basis function (RBF) kernel, for binary intrusion detection using the NSL-KDD, CICIDS2017, and UNSW-NB15 datasets. Normal and attack traffic were represented as classes 0 and 1, respectively. NSL-KDD and UNSW-NB15 were evaluated using their predefined training and testing partitions, while CICIDS2017 was randomly sampled to 500,000 records, cleaned to 499,478 records, and divided using a stratified 80:20 split. Each model was evaluated over five runs using the same data partitions, with different random seeds where applicable. Performance was measured using accuracy, macro precision, macro recall, macro F1-score, weighted F1-score, false alarm rate (FAR), training time, and testing time. DT achieved the highest accuracy on NSL-KDD (79.39%), while RF performed best on UNSW-NB15 (87.08%) and CICIDS2017 (99.88%). RF recorded the lowest FAR on NSL-KDD (2.72%) and CICIDS2017 (0.0676%), whereas DT achieved the lowest on UNSW-NB15 (24.92%). DT generally had the shortest training time, while SVM incurred the highest computational cost, particularly on CICIDS2017 (4,627.49 seconds) and UNSW-NB15 (1,687.92 seconds). The findings indicate that classifier performance and computational requirements are dataset-dependent, highlighting the need to consider both predictive effectiveness and computational efficiency when selecting intrusion detection models.
No takes yet. Share an insight, caveat, or question.
Chijioke et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: