In the Internet of Things (IoT) domain, vast numbers of smart devices are interconnected, generating large volumes of data requiring advanced management mechanisms. One major challenge in smart environments is the ability to accurately distinguish and categorize the various types of objects within these systems. To address this issue, the study introduces a recurrent neural network (RNN) model designed for classifying data from smart home devices. Using a dataset from Kaggle, the research outlines the processes of data collection, loading, normalization, and model development. The RNN, enhanced with long short-term memory (LSTM) layers, was trained and evaluated, showing notable improvements in training and validation accuracy over ten epochs. The model achieved a test accuracy of 83.25%, a loss of 35.4%, a precision of 85%, and a recall of 81%. The evaluation of the model on the test set includes a detailed analysis using ROC curves, area under the curve (AUC) scores for multi-class classification, and a confusion matrix. With an AUC score of 0.9896, the model demonstrated exceptional performance in accurately classifying IoT device categories. These results suggest that the LSTM-equipped RNN offers strong learning efficiency and generalization, making it a highly suitable approach for IoT device classification. Additionally, the article explores the concept of IoT and reviews recent advancements in using deep learning models across various IoT sectors, including smart homes, industrial systems, and healthcare. Future research could aim to improve the model’s real-time processing abilities and scalability and incorporate a wider variety of IoT data types to enhance its practical applications and expand its utility across more IoT environments.
Read full abstract