The Power of Machine Learning Methods and PSO in Air Quality Prediction
Source abstract
Abstract
Monitoring and forecasting air quality is essential for public health and environmental management. It details the air’s cleanliness, pollution levels, and any related health risks that the general public may find concerning. This research investigates how effective machine learning techniques and particle swarm optimization are in predicting air quality. An array of machine learning algorithms, including XGBoost, support vector regression, linear regression, and random forest, was selected to ensure effective modeling outcomes. The models were trained on an open access dataset and performed performance evaluation. The answers from an on-site gas multisensor device in an Italian city were included in the dataset. The findings from the dataset were shown to accurately model and predict environmental factors affecting air quality (e.g., air temperature, humidity, indium oxide, tin oxide, NOx, NO2, etc.) using real-world air quality data. The experiments were repeated by optimizing the relevant machine learning methods with PSO. PSO is a metaheuristic optimization method widely used in feature selection and feature extraction processes. The metrics MAE, MSE, RMSE, and R2, commonly used to evaluate regression algorithms, were utilized to assess the models’ performances. Particle swarm optimization-based support vector regression performed best, with MAE, MSE, RMSE, and R2 values of 0.071, 0.015, 0.122, and 0.999, respectively. In addition, Shapley additive explanations (SHAP) analysis was performed to show which feature of the PSO-based SVR model was practical and to what extent. The results show that the proposed model successfully predicts air quality.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Air Quality Monitoring and Forecasting · Air Quality and Health Impacts · Energy Load and Power Forecasting
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Engineering, Bitlis Eren University, 13100 Bitlis, Türkiye
References (25)
Show source-provided references
1. Environmental Pollution and Pollutants on the Ecosystem: A Review
2. Manisalidis, I., Stavropoulou, E., Stavropoulos, A., and Bezirtzoglou, E. (2020). Environmental and Health Impacts of Air Pollution: A Review. Front. Public Health, 8.10.3389/fpubh.2020.00014 ↗
3. Fang, Z., Wu, P.-Y., Lin, Y.-N., Chang, T.-H., and Chiu, Y. (2021). Air Pollution’s Impact on the Economic, Social, Medical, and Industrial Injury Environments in China. Healthcare, 9.10.3390/healthcare9030261 ↗
4. Air Pollution and Climate Change as Grand Challenges to Sustainability10.1016/j.scitotenv.2024.172370 ↗
5. Air Quality Prediction by Machine Learning Models: A Predictive Study on the Indian Coastal City of Visakhapatnam10.1016/j.chemosphere.2023.139518 ↗
6. AirNet: Predictive Machine Learning Model for Air Quality Forecasting Using Web Interface10.1186/s40068-024-00378-z ↗
7. Air Quality Forecasting Using Machine Learning: A Global Perspective with Relevance to Low-Resource Settings
8. Modeling and Predicting City-Level CO2 Emissions Using Open Access Data and Machine Learning10.1007/s11356-020-12294-7 ↗
9. Machine Learning-Based Prediction of Air Quality Index and Air Quality Grade: A Comparative Analysis10.1007/s13762-023-05016-2 ↗
10. Zayed, R., and Abbod, M. (2024). Breathable cities: Dynamic machine learning modelling approaches for advanced air pollution control. Appl. Sci., 14.10.3390/app14135581 ↗
11. Forecasting CO2 Emissions with Machine Learning Methods: Türkiye Example and Future Trends
12. Natarajan, S.K., Shanmurthy, P., Arockiam, D., Balusamy, B., and Selvarajan, S. (2024). Optimized Machine Learning Model for Air Quality Index Prediction in Major Cities in India. Sci. Rep., 14.10.1038/s41598-024-54807-1 ↗
13. Qu, H., and Zhang, R. (2022, January 25–27). Short-Term Mathematical Prediction Model of Air Quality Based on CEEMD-ELM-PSO. Proceedings of the 2022 IEEE International Conference on Electrical Engineering, Big Data and Algorithms (EEBDA), Changchun, China.10.1109/EEBDA53927.2022.9744927 ↗
14. Air Quality Index Forecasting via Genetic Algorithm-Based Improved Extreme Learning Machine10.1109/ACCESS.2023.3291146 ↗
15. On Field Calibration of an Electronic Nose for Benzene Estimation in an Urban Pollution Monitoring Scenario10.1016/j.snb.2007.09.060 ↗
16. Chen, T., and Guestrin, C. (2016, January 13–17). XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
17. Support Vector Regression
18. N., G., Jain, P., Choudhury, A., Dutta, P., Kalita, K., and Barsocchi, P. (2021). Random Forest Regression-Based Machine Learning Model for Accurate Estimation of Fluid Flow in Curved Pipes. Processes, 9.10.3390/pr9112095 ↗
19. Awad, M., and Khanna, R. (2015). Support Vector Regression. Efficient Learning Machines: Theories, Concepts, and Applications for Engineers and System Designers, Apress.10.1007/978-1-4302-5990-9 ↗
20. Linear Regression10.1002/wics.1198 ↗
21. Natekin, A., and Knoll, A. (2013). Gradient Boosting Machines, a Tutorial. Front. Neurorobot., 7.10.3389/fnbot.2013.00021 ↗
22. Clerc, M. (1999, January 6–9). The Swarm and the Queen: Towards a Deterministic and Adaptive Particle Swarm Optimization. Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406), Washington, DC, USA.
23. Papazoglou, G., and Biskas, P. (2023). Review and Comparison of Genetic Algorithm and Particle Swarm Optimization in the Optimal Power Flow Problem. Energies, 16.10.3390/en16031152 ↗
24. Lundberg, S., and Lee, S.-I. (2017). A Unified Approach to Interpreting Model Predictions. arXiv.
25. Are Only P-Values Less Than 0.05 Significant? A p-Value Greater Than 0.05 Is Also Significant!10.12997/jla.2023.12.2.89 ↗