Air Quality Forecasting Using Machine Learning: Comparative Analysis and Ensemble Strategies for Enhanced Prediction

Abstract Air pollution poses a critical challenge to environmental sustainability, public health, and urban planning. Accurate air quality prediction is essential for devising effective management strategies and early warning systems. This study utilized a dataset comprising hourly measurements of pollutants such as PM2.5, NO x , CO, and benzene, sourced from five metal oxide sensors and a certified analyzer in a polluted urban area, totaling 9,357 records collected over one year (March 2004–February 2005) from the Kaggle Air Quality Data Set. A comprehensive comparison of ten machine learning regression models XGBoost, LightGBM, Random Forest, Gradient Boosting, CatBoost, Support Vector Regression (SVR) with Bayesian Optimization, Decision Tree, K-Nearest Neighbors (KNN), Elastic Net, and Bayesian Ridge was conducted. Model performance was enhanced through Bayesian optimization and randomized cross-validation, with stacking employed to leverage the strengths of base models. Experimental results showed that hyperparameter optimization and ensemble strategies significantly improved accuracy, with the SVR model optimized via Bayesian optimization achieving the highest performance: an R 2 score of 99.94%, MAE of 0.0120, and MSE of 0.0005. These findings underscore the methodology’s efficacy in precisely capturing the spatial and temporal dynamics of air pollution.

Authors

Institutions

Publication Details

Journal
Water Air & Soil Pollution
Published
2025-05-14
DOI
https://doi.org/10.1007/s11270-025-08122-8
Citations
31
Primary Topic
Air Quality Monitoring and Forecasting
Type
article
Field-Weighted Citation Impact
24.77

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Air Quality Forecasting Using Machine Learning: Comparative Analysis and Ensemble Strategies for Enhanced Prediction

Emrah Aslan, Feyyaz Alpsalaz, Yıldırım ÖZÜPAK
31 citations
Water Air & Soil Pollution
Air Quality Monitoring and Forecasting
24.77
article

Air Quality Forecasting Using Machine Learning: Comparative Analysis and Ensemble Strategies for Enhanced Prediction

Emrah Aslan, Feyyaz Alpsalaz, Yıldırım ÖZÜPAK
article en
31 citations

Abstract

Abstract Air pollution poses a critical challenge to environmental sustainability, public health, and urban planning. Accurate air quality prediction is essential for devising effective management strategies and early warning systems. This study utilized a dataset comprising hourly measurements of pollutants such as PM2.5, NO x , CO, and benzene, sourced from five metal oxide sensors and a certified analyzer in a polluted urban area, totaling 9,357 records collected over one year (March 2004–February 2005) from the Kaggle Air Quality Data Set. A comprehensive comparison of ten machine learning regression models XGBoost, LightGBM, Random Forest, Gradient Boosting, CatBoost, Support Vector Regression (SVR) with Bayesian Optimization, Decision Tree, K-Nearest Neighbors (KNN), Elastic Net, and Bayesian Ridge was conducted. Model performance was enhanced through Bayesian optimization and randomized cross-validation, with stacking employed to leverage the strengths of base models. Experimental results showed that hyperparameter optimization and ensemble strategies significantly improved accuracy, with the SVR model optimized via Bayesian optimization achieving the highest performance: an R 2 score of 99.94%, MAE of 0.0120, and MSE of 0.0005. These findings underscore the methodology’s efficacy in precisely capturing the spatial and temporal dynamics of air pollution.

Water Air & Soil PollutionVol. 236(7)
Dicle University (TR), Mardin Artuklu University (TR), Yozgat Bozok Üniversitesi (TR)
Dicle Üniversitesi
Openalex Percentile: Top 0%
Air Quality Monitoring and Forecasting
24.77
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.