SUPERVISED PREDICTIVE MODELING FOR URBAN AIR QUALITY AND EMISSIONS: A COMPARATIVE STUDY OF MACHINE LEARNING AND HYBRID TIME SERIES APPROACHES
DOI:
https://doi.org/10.56519/s6y6vn73Palabras clave:
Air quality forecasting, machine learning, deep learning, smart cities, time series forecasting, environmental modelingResumen
Air pollution from traffic and industry poses a global health hazard. The problem is that traditional statistical models are inadequate for calculating how these pollutants disperse in such densely populated cities, since the atmosphere follows chaotic and highly complex patterns. This research focuses on evaluating and comparing the accuracy of two predictive approaches: the Random Forest Regressor algorithm and Long Short-Term Memory (LSTM) neural networks, applied to predict PM2.5 and NO2 concentrations. An empirical and quantitative design was chosen. Given the temporary inability to connect to the UCI’s original API, the issue was resolved by using a synthetic database, structured based on Beijing’s historical emissions records, thereby ensuring a controlled simulation environment. During the preprocessing phase, missing records were imputed using linear interpolation, values were normalized using Z-scoring, and time variables were adjusted using cyclic encoding. The results confirm that the LSTM model far outperforms the traditional static alternative. During the evaluations, the recurrent network recorded a root mean square error (RMSE) of 8.77 µg/m³ (MAE: 7.00, R²: 0.72) for PM2.5 and an RMSE of 5.33 µg/m³ (MAE: 4.25, R²: 0.64) for NO₂. These figures represent a reduction in the margin of error of 55.9% and 47.8%, respectively, compared to Random Forest. This demonstrates that LSTM gate architectures possess an outstanding ability to retain long-term temporal dependencies, a crucial factor in anticipating environmental alert peaks. This finding provides a solid basis for integrating these algorithms into Internet of Things (IoT)-based smart city platforms, thereby optimizing government decision-making regarding environmental management.
Descargas
Referencias
Prajapati DRT, Patel DDP, Modi DP, Raval MDP, Patel MHD. Iot Base Solutions For Real Time Air Quality Monitoring In Smart Cities. Int J Environ Sci. 2 de julio de 2025;826-42. doi:10.64252/smtzhc34
Manisalidis I, Stavropoulou E, Stavropoulos A, Bezirtzoglou E. Environmental and Health Impacts of Air Pollution: A Review. Front Public Health. 20 de febrero de 2020;8. doi:10.3389/fpubh.2020.00014
WHO global air quality guidelines: particulate matter (PM2.5 and PM10), ozone, nitrogen dioxide, sulfur dioxide and carbon monoxide [Internet]. [citado 25 de junio de 2026]. Disponible en: https://www.who.int/publications/i/item/9789240034228
Driss M, Boulila W, Mezni H, Sellami M, Ben Atitallah S, Alharbi N. An Evidence Theory Based Embedding Model for the Management of Smart Water Environments. Sensors. enero de 2023;23(10):4672. doi:10.3390/s23104672
Li X, Li L, Chen L, Zhang T, Xiao J, Chen L. Random Forest Estimation and Trend Analysis of PM2.5 Concentration over the Huaihai Economic Zone, China (2000–2020). Sustainability. enero de 2022;14(14):8520. doi:10.3390/su14148520
Zhang T, Hua C, Zhang L, Zhang C. High-Resolution Mapping of Ground-Level PM2.5 in China Using FY-4A and FY-4B TOA Reflectance with Seamless Coverage. IEEE J Sel Top Appl Earth Obs Remote Sens. 1 de enero de 2026;PP:1-15. doi:10.1109/JSTARS.2026.3655086
Gilik A, Ogrenci AS, Ozmen A. Air quality prediction using CNN+LSTM-based hybrid deep learning architecture. Environ Sci Pollut Res Int. febrero de 2022;29(8):11920-38. doi:10.1007/s11356-021-16227-w PubMed PMID: 34554404.
Rybarczyk Y, Zalakeviciute R. Machine Learning Approaches for Outdoor Air Quality Modelling: A Systematic Review. Appl Sci. diciembre de 2018;8(12):2570. doi:10.3390/app8122570
Water Flow Forecasting Model Based on Bidirectional Long- and Short-Term Memory and Attention Mechanism [Internet]. [citado 25 de junio de 2026]. Disponible en: https://www.mdpi.com/2073-4441/17/14/2118
Liu C, Zhang C, Liu J, Liu P, Mu Y. Characteristics and sources of volatile organic compounds during summertime in Tai’an, China. Atmospheric Pollut Res. 1 de marzo de 2022;13(3):101340. doi:10.1016/j.apr.2022.101340
Itzkowitz N, Gong X, Atilola G, Konstantinoudis G, Adams K, Jephcote C, et al. Aircraft noise and cardiovascular morbidity and mortality near Heathrow Airport: A case-crossover study. Environ Int. 1 de julio de 2023;177:108016. doi:10.1016/j.envint.2023.108016
Samal KKR, Babu KS, Das SK. Temporal convolutional denoising autoencoder network for air pollution prediction with missing values. Urban Clim. 1 de julio de 2021;38:100872. doi:10.1016/j.uclim.2021.100872
Liao H, Yuan L, Wu M, Chen H. Air quality prediction by integrating mechanism model and machine learning model. Sci Total Environ. 15 de noviembre de 2023;899:165646. doi:10.1016/j.scitotenv.2023.165646
Prado L de O, Bolzani HR, Souza HH de S, Ruas G, da Silva GHR. Microalgal cultivation in open and closed systems under a tropical climate: A life cycle comparison. J Clean Prod. 10 de octubre de 2023;422:138631. doi:10.1016/j.jclepro.2023.138631
He MZ, Yitshak-Sade M, Just AC, Gutiérrez-Avila I, Dorman M, de Hoogh K, et al. Predicting fine-scale daily NO2 over Mexico city using an ensemble modeling approach. Atmospheric Pollut Res. 1 de junio de 2023;14(6):101763. doi:10.1016/j.apr.2023.101763
Huang X, Liu Z. PM2.5 prediction based on attention mechanism and Bi-LSTM [Internet]. In Review; 2023 [citado 29 de junio de 2026]. Disponible en: https://www.researchsquare.com/article/rs-3763888/v1 doi:10.21203/rs.3.rs-3763888/v1
Yang Y, Mei G, Izzo S. Revealing Influence of Meteorological Conditions on Air Quality Prediction Using Explainable Deep Learning. IEEE Access. 2022;10:50755-73. doi:10.1109/ACCESS.2022.3173734
Pedregosa F, Pedregosa F, Varoquaux G, Varoquaux G, Org N, Gramfort A, et al. Scikit-learn: Machine Learning in Python. Mach Learn PYTHON.
(PDF) Multivariate Air Quality Forecasting with Nested LSTM Neural Network. ResearchGate. doi:10.1109/TII.2021.3065425
Pedregosa F, Pedregosa F, Varoquaux G, Varoquaux G, Org N, Gramfort A, et al. Scikit-learn: Machine Learning in Python. Mach Learn PYTHON.







