Title: Multi to binary class size based imbalance handling technique in wireless sensor networks

Authors: Neha Singh; Deepali Virmani; Gaurav Dhiman; S. Vimal

Addresses: University School of Information, Communication and Technology, Guru Gobind Singh Indraprastha University, Dwarka, 110086, Delhi, India ' Department of Computer Science Engineering, VIPS-TC, School of Engineering and Technology, 110034, Delhi, India ' Department of Electrical and Computer Engineering, Lebanese American University, Byblos, Lebanon; Department of Computer Science and Engineering, University Centre for Research and Development, Chandigarh University, Gharuan, 140413, Mohali, India; Department of Computer Science and Engineering, Graphic Era Deemed to be University, Dehradun, 248002, India; Division of Research and Development, Lovely Professional University, Phagwara, 144402, India; Chitkara University Institute of Engineering and Technology, Chitkara University, Punjab, 140601, India; Department of Computer Science, Government Bikram College of Commerce, Patiala, 147001, Punjab, India ' Department of Artificial Intelligence and Data Science, Ramco Institute of Technology, Rajapalayam, 626117, Tamil Nadu, India

Abstract: Wireless sensor network (WSN) has entered various disciplines including healthcare, banking, transportation, ocean and wildlife monitoring, earthquake monitoring, and numerous military applications. Now days, there is escalation in size of data which makes it unfeasible to analyse it with accuracy. There are numerous problems that are faced when detecting a pattern between structured and unstructured data which are unworkable by humans, so to make computation fast, easy and accurate, Machine Learning came in existence. Machine Learning is extensively used in WSNs. To make a machine learn, a training dataset is required and output is predicted by testing the dataset. A dataset in WSN has multi-class in its dependent variable. This multiclass classification causes class imbalance problem. The paper proposes multi to binary class size based imbalance handling technique in wireless sensor networks (MBSCIH) technique to solve class imbalance problem in multi-class classification. The technique MBSCIH converts multi-class classification into binary-class classification. The proposed technique MBSCIH is applied on WSNDS, NSL-KDD and KDD-cup 99 datasets and is tested with five major machine learning algorithm: Naive Bayes, Random Forest, decision tree, support vector machine (SVM) and k-nearest neighbour (KNN). The test method used for testing is 10-fold cross validation. Results infer that the proposed method increases the existing efficiency by 15.13%, 0.28%, 0.01%, 0.01%, 0.12% for Naïve Bayes, Decision Tree, SVM, Random Forest and KNN Algorithms respectively for KDD Cup99 dataset. The proposed method increases the efficiency by 43.1%, 2.79%, 0.01%, 0.53% for Naïve Bayes, decision tree, SVM and KNN algorithms respectively for NSL-KDD dataset. Also, the proposed method increases the efficiency by 0.13%, 0.08%, 0.29%, 0.29% for Naïve Bayes, decision tree, SVM and KNN algorithms respectively for WSN-DS dataset.Further the experimental analysis proves that solving multiclass problem through algorithm has enhanced the detection of intrusions in WSNs.

Keywords: WSN; wireless sensor network; multiclass classification; binary classification; intrusion detection; WSN-DS dataset.

DOI: 10.1504/IJNT.2023.134006

International Journal of Nanotechnology, 2023 Vol.20 No.5/6/7/8/9/10, pp.477 - 511

Received: 25 Jan 2021
Accepted: 12 Apr 2021

Published online: 10 Oct 2023 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article