Open AccessOpen Access


Machine Learning with Dimensionality Reduction for DDoS Attack Detection

Shaveta Gupta1, Dinesh Grover2, Ahmad Ali AlZubi3,*, Nimit Sachdeva4, Mirza Waqar Baig5, Jimmy Singla6

1 IK Gujral Punjab Technical University, Jalandhar, 144603, India
2 Department. of Electrical Engineering and Computer Science, Punjab Agriculture University, Ludhiana, 141004, India
3 Department of Computer Science, Community College, King Saud University, Riyadh, 11437, Saudi Arabia
4 Vunsol Private Limited, Mohali, 160055, India
5 Department of Electrical Engineering, FAST National University, CFD Campus, Faisalabad, 44000, Pakistan
6 School of Computer Science and Engineering, Lovely Professional University, Punjab, 144001, India

* Corresponding Author: Ahmad Ali AlZubi. Email:

Computers, Materials & Continua 2022, 72(2), 2665-2682.


With the advancement of internet, there is also a rise in cybercrimes and digital attacks. DDoS (Distributed Denial of Service) attack is the most dominant weapon to breach the vulnerabilities of internet and pose a significant threat in the digital environment. These cyber-attacks are generated deliberately and consciously by the hacker to overwhelm the target with heavy traffic that genuine users are unable to use the target resources. As a result, targeted services are inaccessible by the legitimate user. To prevent these attacks, researchers are making use of advanced Machine Learning classifiers which can accurately detect the DDoS attacks. However, the challenge in using these techniques is the limitations on capacity for the volume of data and the required processing time. In this research work, we propose the framework of reducing the dimensions of the data by selecting the most important features which contribute to the predictive accuracy. We show that the ‘lite’ model trained on reduced dataset not only saves the computational power, but also improves the predictive performance. We show that dimensionality reduction can improve both effectiveness (recall) and efficiency (precision) of the model as compared to the model trained on ‘full’ dataset.


Cite This Article

S. Gupta, D. Grover, A. Ali AlZubi, N. Sachdeva, M. Waqar Baig et al., "Machine learning with dimensionality reduction for ddos attack detection," Computers, Materials & Continua, vol. 72, no.2, pp. 2665–2682, 2022.

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.
  • 1097


  • 504


  • 0


Share Link