Embedding Intelligence at the Sensor: Naïve Bayes Classifier for Real-Time Fault Diagnosis in Resource-Constrained WSNs

Authors

  • Yassine Aitamar Mohammed V University in Rabat (UM5R), Rabat, Morocco https://orcid.org/0009-0000-0821-9654
  • Jawad Oubaha Mohammed First University (UMP), Oujda, Morocco
  • Jamal El Abbadi Mohammed V University in Rabat (UM5R), Rabat, Morocco

DOI:

https://doi.org/10.3991/ijoe.v21i13.57727

Keywords:

Wireless Sensor Network, IoT, Fault Detection and Classification, Machine Learning, Real-time, Naive Bayes Classifier

Abstract


The reliable functioning of wireless sensor networks (WSNs), integral to mission-critical Internet of Things (IoT) implementations such as industrial automation and environmental sensing, is significantly undermined by data-centric anomalies. These faults, including drift, offset, stuck-at, gain, and out-of-bounds readings, compromise data integrity, leading to faulty decisions and potential system failures. Although machine learning (ML) offers viable solutions for fault detection and classification, deploying sophisticated models onto sensor nodes with inherent resource limitations presents a persistent challenge. This study introduces an embedded Naïve Bayes (NB) classifier designed for in-situ fault detection and classification, capitalizing on its minimal computational demands and inherent noise resilience. Rigorous evaluation employing diverse real-world datasets with variable fault incidences confirms robust performance across accuracy, precision, recall, and F1-score metrics under strict energy and latency thresholds. Comparative assessment reveals substantially reduced resource utilization (computation, memory) relative to conventional techniques while sustaining high detection efficacy across heterogeneous fault conditions. This methodology effectively reconciles sophisticated analytical capabilities with the processing constraints of edge devices, markedly improving fault tolerance to ensure dependable WSN operation within dynamic IoT settings.

Downloads

Published

2025-11-14

How to Cite

Aitamar, Y., Oubaha, J., & El Abbadi, J. (2025). Embedding Intelligence at the Sensor: Naïve Bayes Classifier for Real-Time Fault Diagnosis in Resource-Constrained WSNs. International Journal of Online and Biomedical Engineering (iJOE), 21(13), pp. 46–62. https://doi.org/10.3991/ijoe.v21i13.57727

Issue

Section

Papers