An Adaptive Machine Learning Framework for Real Time IoT Data Classification and Prediction

Authors

  • Anil S Naik Department of Cyber Security and Digital Forensics, National Forensic Sciences University Dharwad Campus, Dharwad, Karnataka, India.
  • R.E. Franklin Jino Department of Information Technology, V.S.B. Engineering College, Karur, Tamilnadu, Pin Code:639111, India.
  • Poonam Singh Department of Computer Science and Engineering, Hindustan College of Science and Technology, Mathura, India.
  • Mohammed Ovaiz A Department of Electronics and Communication Engineering, Vel Tech High Tech Dr.Rangarajan Dr.Sakunthala Engineering College, Chennai, Tamilnadu, India
  • J.V. Anchitaalagammai Department of Computer Science and Engineering (Cyber Security) Velammal College of Engineering and Technology,Viraganoor,Madurai-625009, India
  • Mirza Shuja School of Engineering & Technology, CGC University, Mohali, India.

DOI:

https://doi.org/10.70917/ijcisim-2026-4115

Keywords:

Internet of Things, online machine learning, concept drift, data-stream classification, time-series forecasting, adaptive learning, edge intelligence

Abstract

The analysis of large amounts of data generated in real time by applications and services of the Internet of Things (IoT) has become a real challenge, since the data streams are continuous and non-stationary, therefore they require a high quality classification and prediction. Therefore, the use of static machine learning models becomes inefficient, since the behavior of the devices and the distribution of the sensors can change over time, and they require an adaptive model that can be updated in real time. In this work, an adaptive machine learning framework for real-time device activity recognition and future-state prediction is proposed. It is tested on a simulated IoT stream with 30,000 observations and 5 different device states (sleep, sensing, processing, transmitting, idle) under different types of concept drift (abrupt, gradual, incremental, and recurring). The framework consists of an online stochastic gradient descent (SGD) classifier, a recent-window random forest, dynamic model weighting, and Page–Hinkley drift detection. A prequential test-then-train approach is used after an initial set of 2,000 observations. For the task of activity recognition, the framework achieves an accuracy of 93.92% and a corresponding macro-F1 score of 93.81%, outperforming a static random forest as well as a non-adaptive online SGD model by 9.39% and 1.83% percentage points, respectively. For the task of one-step-ahead state prediction, it achieves an accuracy of 68.32% and corresponding macro-F1 score of 68.27%. Average processing latency per observation is below 0.5 ms. The results of this work show that adaptive online learning can efficiently support reliable IoT classification and prediction in changing operational scenarios, while keeping low computational latency.

Downloads

Download data is not yet available.

Downloads

Published

2026-07-31

How to Cite

Anil S Naik, R.E. Franklin Jino, Poonam Singh, Mohammed Ovaiz A, J.V. Anchitaalagammai, & Mirza Shuja. (2026). An Adaptive Machine Learning Framework for Real Time IoT Data Classification and Prediction. International Journal of Computer Information Systems and Industrial Management Applications, 18(13s), 715–725. https://doi.org/10.70917/ijcisim-2026-4115

Issue

Section

Original Articles