Machine Learning for LoRaWAN Smart Parking: A Multi-Horizon Occupancy Prediction Benchmark

Authors

DOI:

https://doi.org/10.3991/ijim.v20i21.62621

Keywords:

smart parking, occupancy forecasting, multi-horizon prediction, machine learning, LoRaWAN

Abstract


Smart parking systems guide drivers to free spaces through mobile interfaces whose usefulness depends on the accuracy and lead time of the underlying occupancy forecasts. We benchmark seven models—random forest (RF), XGBoost, LightGBM, a feed-forward neural network (NN), an LSTM, a temporal convolutional network (TCN), and a transformer—on a full year of real data: 112,830 observations from five LoRaWAN-instrumented spaces at the University of Prishtina, Kosovo (June 2024–June 2025). Departing from single-horizon nowcasting, we predict at 15-minute, 1-hour, and 2-hour lead times for both binary occupancy classification and continuous occupancy-ratio regression, under a leakage-free chronological split, with deep models trained to convergence and every result averaged over ten seeds with significance testing. The value of machine learning proves strongly horizon-dependent: because occupancy is highly autocorrelated, a zero-cost persistence baseline matches the best learned model up to one hour ahead, and only at two hours do six of the seven models beat it significantly (best long shortterm memory (LSTM) 79.82% vs. 76.32%, p < 10-10). For regression the sequence models lead at every horizon (R2 = 0.686 at one hour) and the gradient-boosted trees outrank RF. An ablation shows historical (autocorrelation) features supply almost all of the signal, corroborated by SHAP and permutation importance. A resource analysis is counterintuitive: RF trains fastest yet yields the largest model (165 MB), while the compact sequence models (~0.2 MB) are far more deployable. These results give realistic, persistence-aware guidance for smart-parking services.

Downloads

Published

2026-11-25

How to Cite

Rexhepi, A., Laniku, V., Kadriu, M., Alimusaj, N., & Krasniqi, B. (2026). Machine Learning for LoRaWAN Smart Parking: A Multi-Horizon Occupancy Prediction Benchmark. International Journal of Interactive Mobile Technologies (iJIM), 20(21), pp. 150–172. https://doi.org/10.3991/ijim.v20i21.62621

Issue

Section

Papers