Global Air Quality Index Prediction Using Machine Learning on Major Pollutants
Abstract
Air pollution remains a major global concern due to its significant impact on public health and environmental sustainability. This study aims to develop a reliable global Air Quality Index (AQI) prediction model by evaluating five regression-based machine learning algorithms, including Linear Regression, Support Vector Regression, Random Forest, XGBoost, and LightGBM. The dataset contains over twenty thousand pollutant concentration records from multiple countries. Since the dataset consists of independent pollutant observations without timestamps or temporal sequences, this research employs supervised regression techniques rather than time-series forecasting methods to ensure methodological consistency with the non-temporal structure of the data. The methodology includes data preprocessing, validation of geocoded country information for missing values, transformations to address skewed pollutant distributions, and feature selection based on established environmental standards. Sample weights were applied to account for uneven regional representation, and systematic hyperparameter tuning with cross-validation was conducted to optimize model parameters and reduce potential overfitting. Evaluation metrics are supported by correlation analysis to quantify relationships between pollutants and AQI. The results show that XGBoost delivers the highest and most stable performance, with a MAE of 0.0216, MSE of 0.0010, RMSE of 0.0318, R² of 0.9971, and MAPE of 0.5664. Feature importance analysis highlights PM2.5 as the most influential pollutant, followed by ozone, nitrogen dioxide, and carbon monoxide. The predicted AQI values closely align with observed measurements, demonstrating strong generalizability across regions. An interactive dashboard was developed to visualize AQI predictions and pollutant contributions across countries, improving practical usability for environmental monitoring. Overall, this study provides a comprehensive framework for global AQI prediction and demonstrates the potential of machine learning to support decision-making in environmental management and public health planning.
Keywords
Full Text:
PDFReferences
Mitreska Jovanovska, E., Batz, V., Lameski, P., Zdravevski, E., Herzog, M. A., and Trajkovik, V., “Methods for urban air pollution measurement and forecasting: Challenges, opportunities, and solutions,” Atmosphere, vol. 14, no. 9, p. 1441, 2023, doi: 10.3390/atmos14091441
Madan, T., Sagar, S., and Virmani, D., “Air quality prediction using machine learning algorithms: A review,” in Proceedings of the 2nd International Conference on Advances in Computing, Communication Control and Networking (ICACCCN), pp. 106–110, 2020, doi: 10.1109/ICACCCN51052.2020.9362912
Tran, H. M., Tsai, F.-J., Lee, Y.-L., Chang, J.-H., Chang, L.-T., Chang, T.-Y., Chung, K. F., Kuo, H.-P., Lee, K.-Y., Chuang, K.-J., and Chuang, H.-C., “The impact of air pollution on respiratory diseases in an era of climate change: A review of the current evidence,” Science of The Total Environment, vol. 898, p. 166340, 2023, doi: 10.1016/j.scitotenv.2023.166340
Munsif, R., Zubair, M., Aziz, A., and Nadeem Zafar, M., “Industrial air emission pollution: Potential sources and sustainable mitigation,” IntechOpen, 2021, doi: 10.5772/intechopen.93104
Edo, G. I., Itoje-Akpokiniovo, L. O., Obasohan, P., Ikpekoro, V. O., Samuel, P. O., Jikah, A. N., Nosu, L. C., Ekokotu, H. A., Ugbune, U., Oghroro, E. E. A., Emakpor, O. L., Ainyanbhor, I. E., Mohammed, W. A.-S., Akpoghelie, P. O., Owheruo, J. O., and Agbo, J. J., “Impact of environmental pollution from human activities on water, air quality and climate change,” Ecological Frontiers, vol. 44, no. 5, pp. 874–889, 2024, doi: 10.1016/j.ecofro.2024.02.014
Gladkova, E., and Saychenko, L., “Applying machine learning techniques in air quality prediction,” Transportation Research Procedia, vol. 63, pp. 1999–2006, 2022, doi: 10.1016/j.trpro.2022.06.222
Fuller, R., Landrigan, P. J., Balakrishnan, K., Bathan, G., Bose-O’Reilly, S., Brauer, M., et al., “Pollution and health: A progress update,” The Lancet Planetary Health, 2022, doi: 10.1016/S2542-5196(22)00120-0
IQAir, World Air Quality Report 2024 [Report], IQAir, 2024. [Online]. Available: https://www.iqair.com
U-Earth Team, Bangladesh: Air pollution statistics 2024, U-Earth Biotech, 2024. [Online]. Available: https://www.u-earth.eu
Markozannes, G., Pantavou, K., Rizos, E. C., Sindosi, O. A., Tagkas, C., Seyfried, M., Saldanha, I. J., Hatzianastassiou, N., Nikolopoulos, G. K., and Ntzani, E., “Outdoor air quality and human health: An overview of reviews of observational studies,” Environmental Pollution, vol. 306, p. 119309, 2022, doi: 10.1016/j.envpol.2022.119309
Kothandaraman, D., Praveena, N., Varadarajkumar, K., Madhav Rao, B., Dhabliya, D., Satla, S., and Abera, W., “Intelligent forecasting of air quality and pollution prediction using machine learning,” Adsorption Science & Technology, 2022, Article ID 5086622, doi: 10.1155/2022/5086622
Pratiwi, B. P., Handayani, A. S., and Sarjana, S., “Pengukuran kinerja sistem kualitas udara dengan teknologi WSN menggunakan confusion matrix,” Jurnal Informatika UPGRIS, vol. 6, no. 2, pp. 66–74, 2020, doi: 10.26877/jiu.v6i2.6552
Chen, M.-J., Guo, Y. L., Lin, P., Chiang, H.-C., Chen, P.-C., and Chen, Y.-C., “Air quality health index (AQHI) based on multiple air pollutants and mortality risks in Taiwan: Construction and validation,” Environmental Research, vol. 231, p. 116214, 2023, doi: 10.1016/j.envres.2023.116214
Rentschler, J., and Leonova, N., “Global air pollution exposure and poverty,” Nature Communications, vol. 14, p. 4432, 2023, doi: 10.1038/s41467-023-39797-4
Liang, Y.-C., Maimury, Y., Chen, A. H.-L., and Juarez, J. R. C., “Machine learning-based prediction of air quality,” Applied Sciences, vol. 10, no. 24, p. 9151, 2020, doi: 10.3390/app10249151
Lei, T. M. T., Siu, S. W. I., Monjardino, J., Mendes, L., and Ferreira, F., “Using machine learning methods to forecast air quality: A case study in Macao,” Atmosphere, vol. 13, no. 9, p. 1412, 2022, doi: 10.3390/atmos13091412
Lei, T. M. T., Ng, S. C. W., and Siu, S. W. I., “Application of ANN, XGBoost, and other ML methods to forecast air quality in Macau,” Sustainability, vol. 15, no. 6, p. 5341, 2023, doi: 10.3390/su15065341
Kumar, K., and Pande, B. P., “Air pollution prediction with machine learning: A case study of Indian cities,” International Journal of Environmental Science and Technology, vol. 20, no. 6, pp. 5333–5348, 2023, doi: 10.1007/s13762-022-04241-5
Cordova, C. H., Portocarrero, M. N. L., Salas, R., Torres, R., Rodrigues, P. C., and López-Gonzales, J. L., “Air quality assessment and pollution forecasting using artificial neural networks in Metropolitan Lima-Peru,” Scientific Reports, vol. 11, p. 24232, 2021, doi: 10.1038/s41598-021-03650-9
Suri, R., Jain, A., Kapoor, N., Kumar, A., Arora, H., Kumar, K., and Jahangir, H., “Air quality prediction – a study using neural network based approach,” Journal of Soft Computing in Civil Engineering, vol. 7, pp. 99–113, 2023, doi: 10.22115/SCCE.2022.352017.1488
Ravindiran, G., Hayder, G., Kanagarathinam, K., Alagumalai, A., and Sonne, C., “Air quality prediction by machine learning models: A predictive study on the Indian coastal city of Visakhapatnam,” Chemosphere, vol. 338, p. 139518, 2023, doi: 10.1016/j.chemosphere.2023.139518
Liu, Q., Cui, B., and Liu, Z., “Air quality class prediction using machine learning methods based on monitoring data and secondary modeling,” Atmosphere, vol. 15, no. 5, p. 553, 2024, doi: 10.3390/atmos15050553
Essamlali, I., Nhaila, H., and El Khaili, M., “Supervised machine learning approaches for predicting key pollutants and for the sustainable enhancement of urban air quality: A systematic review,” Sustainability, vol. 16, no. 3, p. 976, 2024, doi: 10.3390/su16030976
Adiwidya, A. S., Romadhony, A., Chandra, I., Sukmawati, A. N. D., Sholihah, H. M., Islamiah, D. U., and Rinaldi, A., “Prediction of PM2.5 and CO2 concentrations using the PCA-LightGBM method in Bandung, Indonesia,” Journal of Physics: Conference Series, vol. 2942, p. 012004, 2024, doi: 10.1088/1742-6596/2942/1/012004
Al Muzdadid, H., Global air pollution dataset, Kaggle, 2022. [Online]. Available: https://www.kaggle.com/datasets/hasibalmuzdadid/global-air-pollution-dataset/data
DOI: https://doi.org/10.47738/jads.v7i1.1112
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)