# Data Quality Audit and Bivariate Temperature-Humidity Analysis of a Long-Term LoRaWAN Network: Anomaly Detection, PCA, Clustering and Machine Learning

DevFeed: [Data Quality Audit and Bivariate Temperature-Humidity Analysis of a Long-Term LoRaWAN Network: Anomaly Detection, PCA, Clustering and Machine Learning](<https://devfeed.tech/articles/data-quality-audit-and-bivariate-temperature-humidity-analysis-of-a-long-term-lorawan-network-anomaly-detection-pca-clustering-and-machine-learning-99610.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32438>)

Author: Mamadou Sow

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Data analysis](<https://devfeed.tech/topics/data-analysis.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [outlier-detection](<https://devfeed.tech/topics/outlier-detection.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [mlp](<https://devfeed.tech/topics/mlp.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>)

Tags: [anomaly-detection](<https://devfeed.tech/tags/anomaly-detection.md>), [audit](<https://devfeed.tech/tags/audit.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data-quality](<https://devfeed.tech/tags/data-quality.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [lorawan](<https://devfeed.tech/tags/lorawan.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [physics-ao-ph](<https://devfeed.tech/tags/physics-ao-ph.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>)

## AI overview

A coverage audit changed the analysis of the Tour Perret LoRaWAN dataset: CO₂ was absent and pressure appeared in only 4.24% of frames, so the study focused on temperature and humidity, jointly available in 95.76% of the corpus. Its C++17 pipeline applies anomaly detection, PCA, clustering and an MLP to predict humidity from temperature and time, using prediction residuals to detect slow drift. Temperature and humidity correlate at r = −0.662; PC1 accounts for 83.1% of variance. Isolation Forest flags 2.12% of records as multivariate anomalies, while univariate modified Z-score flags none. Calibrated DBSCAN finds 0.17% noise across 13 clusters. The MLP reaches cross-validated R² = 0.672 (RMSE 10.54%). The findings support auditing variable coverage before modeling heterogeneous sensor data.

## Source excerpt

arXiv:2610.32438v1 Announce Type: new Abstract: Long-term environmental IoT/LPWAN deployments often aggregate heterogeneous data streams from diverse devices without systematic auditing of each variable's actual coverage prior to analysis-an increased risk when multiple sensor types coexist within the same network. This work proposes a C++17 processing pipeline applied to the Tour Perret LoRaWAN dataset (421 937 frames, June 2021--June 2023, 5 devices). A systematic coverage audit integrated into the extraction phase reveals that CO2 is completely missing (0% coverage) and pressure is reported only by an isolated base module (Wyres, 4.24% of the corpus), invalidating the initial hypothesis of a joint four-variable analysis. The analysis is refocused on the Temperature--Humidity pair, jointly available across 205{,}005 frames (95.76%) from 4 Elsys EMS sensors. The pipeline sequentially performs anomaly detection (modified Z-score, Isolation Forest), bivariate Principal Component Analysis, clustering (K-means, DBSCAN), and a multilayer perceptron predicting humidity from temperature and time, whose residuals serve as a detector for slow drift. On real-world data: Temperature--Humidity correlation r=-0.662, two-component PCA (PC1 =83.1% of variance), Isolation Forest detects 2.12% multivariate anomalies while univariate Z-score detects none, calibrated DBSCAN isolates 0.17% noise across 13 clusters, and the MLP achieves $R^2=0.672$ (RMSE =10.54%) in cross-validation. This work demonstrates that per-variable coverage auditing prior to modeling is a necessary methodological step for heterogeneous multi-sensor IoT datasets.