Machine Learning-Based PM2.5 Prediction Using Meteorological Data for Environmental Decision Support

Main Article Content

Kanok-on Hoondee
Jıraphat Lapwattanaworakul

Abstract

Fine particulate matter (PM2.5) remains a critical environmental and public health concern. Accurate prediction of PM2.5 concentrations is essential for air quality monitoring, pollution mitigation, and evidence-based decision-making. Although machine learning has demonstrated promising performance in air quality prediction, many existing studies emphasize predictive accuracy while providing limited comparative evaluation and insufficient interpretation of the variables contributing to model predictions.


This study develops a comparative machine learning framework for predicting daily PM2.5 concentrations using meteorological variables and historical PM2.5 observations. Four models—Linear Regression, Random Forest, Extreme Gradient Boosting (XGBoost), and Stacking Ensemble—were evaluated using MAE, RMSE, MAPE, and R². Explainable Artificial Intelligence was incorporated through SHapley Additive exPlanations (SHAP) to interpret the contributions of meteorological, temporal, and historical PM2.5 features.


The results show that XGBoost achieved the best overall predictive performance, with the lowest RMSE of 6.9639 and the highest R² of 0.7917, while the Stacking Ensemble obtained the lowest MAE and MAPE. SHAP analysis indicated that historical PM2.5 features were the strongest contributors to prediction, while relative humidity was the most influential meteorological variable, followed by temperature and wind speed. These findings demonstrate the potential of combining comparative machine learning and explainable AI to support interpretable PM2.5 forecasting and environmental decision-making.

Downloads

Download data is not yet available.

Article Details

Section
Articles

References

Aman, N., Panyametheekul, S., Pawarmart, I., Xian, D., Gao, L., Tian, L., Manomaiphiboon, K., & Wang, Y. (2025). Machine learning-based quantification and separation of emissions and meteorological effects on PM2.5 in Greater Bangkok. Scientific Reports, 15(1), 14775. https://doi.org/10.1038/s41598-025-99094-6

Bhatta, J., Acharya, S. R., & Yang, K. M. (2026). Machine learning-enhanced air quality forecasting and trend analysis: A five-year comprehensive assessment of PM2.5 concentrations in Bangkok, Thailand. Environmental Challenges, 22, 101442. https://doi.org/10.1016/j.envc.2026.101442

Breiman, L. (2001). Random Forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. https://doi.org/10.1145/2939672.2939785

Lundberg, S., & Lee, S.-I. (2017). A Unified Approach to Interpreting Model Predictions (arXiv:1705.07874). arXiv. https://doi.org/10.48550/arXiv.1705.07874

Peng, Z., Zhang, B., Wang, D., Niu, X., Sun, J., Xu, H., Cao, J., & Shen, Z. (2024). Application of machine learning in atmospheric pollution research: A state-of-art review. Science of The Total Environment, 910, 168588. https://doi.org/10.1016/j.scitotenv.2023.168588

Ravindiran, G., Karthick, K., Rajamanickam, S., Datta, D., Das, B., Shyamala, G., Hayder, G., & Maria, A. (2025). Ensemble stacking of machine learning models for air quality prediction for Hyderabad city in India. iScience, 28(2), 111894. https://doi.org/10.1016/j.isci.2025.111894

Rosca, C.-M., Carbureanu, M., & Stancu, A. (2025). Data-Driven Approaches for Predicting and Forecasting Air Quality in Urban Areas. Applied Sciences, 15(8), 4390. https://doi.org/10.3390/app15084390

Sirithian, D., & Thanatrakolsri, P. (2022). Relationships between Meteorological and Particulate Matter Concentrations (PM2.5 and PM10 ) during the Haze Period in Urban and Rural Areas, Northern Thailand. Air, Soil and Water Research, 15, 11786221221117264. https://doi.org/10.1177/11786221221117264

Thapa, I., Devkota, B., Lamichhane, B. R., Devkota, B. P., Dhakal, R., & Horanont, T. (2026). Applying Deep Learning and Machine Learning Algorithms to Estimate PM$_{2.5}$ Concentration Using Satellite Data and Meteorological Data. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 19, 2387–2404. https://doi.org/10.1109/JSTARS.2025.3620408

Thongrod, T., Lim, A., Ingviya, T., & Owusu, B. A. (2022). Prediction of PM2.5 and PM10 in Chiang Mai Province: A Comparison of Machine Learning Models. 2022 37th International Technical Conference on Circuits/Systems, Computers and Communications (ITC-CSCC), 1–4. https://doi.org/10.1109/ITC-CSCC55581.2022.9894884

Wood, D. A. (2022). Local integrated air quality predictions from meteorology (2015 to 2020) with machine and deep learning assisted by data mining. Sustainability Analytics and Modeling, 2, 100002. https://doi.org/10.1016/j.samod.2021.100002