Comparison of the Use of Support Vector Machine (SVM) & Random Forest Algorithms (RF) for DDOS Attack Detection
Ho Zi Rui, Tan Ying Chien, Loo Xin Ee, Cheong Wei San, Law Teng Yi · International Journal of Research and Innovation in Social Science · 2025
DDoS attack is one of the major challenges to network security in today’s time, destroying services and creating huge losses. The study here presents an assessment of the performance of Support Vector Machine and Random Forest algorithms on DDoS detection based on the DDoS-SDN datasets. Key metrics that were considered for performance evaluation include accuracy, precision, recall, and F1-score. The results indicate that RF outperforms SVM in complex, high-dimensional datasets such as DDoS-SDN, using its ensemble learning approach to attain greater robustness and accuracy. This research also explores the role of feature selection techniques, such as Genetic Algorithm (GA) and Recursive Feature Elimination (RFE), to enhance model efficiency and accuracy. This paper discusses the strengths and limitations of both algorithms to provide insight into the optimization of machine learning models toward efficient DDoS detection for secure and resilient network systems.