Enhancing internet of things attack detection using principal component analysis and kernel principal component analysis with cosine distance and sigmoid kernel

Zyad Elkhadir, Mohammed Achkari Begdouri

Abstract


The widespread adoption of internet of things (IoT) devices has brought about unprecedented levels of connectivity and convenience. However, it has also introduced significant challenges, particularly in the areas of security and privacy. This study addresses the critical issue of intrusion detection within IoT environments, with a specific focus on analyzing the Iot-23 dataset. Our methodology involves employing principal component analysis (PCA) and kernel PCA for dimensionality reduction. Subsequently, we utilize the k-nearest neighbors (KNN) algorithm for classification purposes. To optimize the performance of the KNN algorithm, we experiment with various feature scaling techniques, such as StandardScaler, MinMaxScaler, and RobustScaler, utilizing different distance metrics. In our analysis, we discovered that employing the cosine distance metric in combination with KNN resulted in superior intrusion detection performance when utilizing PCA. Additionally, when utilizing kernel PCA, we evaluated multiple kernel functions and determined that the radial basis function and sigmoid kernel yielded the most favorable results.

Keywords


Cosine distance; Internet of things; Intrusion detection systems; Kernel principal component analysis; K-nearest neighbors

Full Text:

PDF


DOI: http://doi.org/10.11591/ijece.v15i1.pp1099-1108

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).