Interpretable machine learning framework for air quality prediction in Istanbul using Shapley additive explanations (SHAP)
Enes Birinci, Ömer Ekmekcioğlu, Hüseyin Özdemir, Ali Deniz
Istanbul Technical University
Key points
From the paper's conclusion- To enhance interpretability, SHAP (SHapley Additive exPlanations) analysis was applied to the best-performing models, enabling a transparent assessment of how meteorological and co-pollutant inputs shaped predictions at each site.
Abstract
Abstract This study develops a season-aware machine-learning (ML) framework to predict hourly concentrations of PM 10 , PM 2.5 and O 3 across İstanbul. A comprehensive 2021–2023 dataset was compiled from three co-located air-quality and meteorological monitoring stations that typify contrasting source regimes, i.e., a traffic-dominated urban site, a rural background site, and a semi-urban coastal site. Seven ML algorithms, namely eXtreme Gradient Boosting (XGBoost), Extra Trees (ETR), Random Forest (RF), Adaptive Boosting (AdaBoost), Multi-Layer Perceptron (MLP), k-Nearest Neighbors (KNN) and Support Vector Regression (SVR), were utilized to establish a holistic comparison scheme. Hyperparameters were optimized using five-fold cross-validated Bayesian search, and models were evaluated with various performance indicators on season-withheld test sets. In the winter months, ETR achieved a mean R 2 = 0.93 (RMSE ≈ 10 µg/m 3 ) for PM 10 at Bağcılar, while XGBoost yielded R 2 = 0.88 for O 3 at the same site. Summer predictions were more challenging. PM 10 skill in rural Arnavutköy dropped to R 2 = 0.61 despite strong training fits, highlighting over-fitting risks under complex, non-stationary chemical conditions. By contrast, MLP maintained robust urban performance for PM 2.5 (summer test R 2 = 0.80) and KNN provided the most stable O 3 prediction in rural areas (R 2 = 0.74). To enhance interpretability, SHAP (SHapley Additive exPlanations) analysis was applied to the best-performing models, enabling a transparent assessment of how meteorological and co-pollutant inputs shaped predictions at each site. The proposed framework demonstrates that data-driven models can complement traditional air-quality modeling systems by providing station-level insights and interpretable relationships between pollutants and meteorological drivers, supporting air-quality assessment and policy-relevant analyses in rapidly urbanizing regions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Interpretable Machine Learning Models Using SHAP for Hourly and Daily-Maximum Carbon Monoxide Forecasting at Urban Air Quality IoT Monitoring Stations in GreeceElectronics · 2026
- Explainable AI for Atmospheric Temperature Prediction Using Air Quality and Meteorological Parameters at Dublin International Airport, IrelandApplied Sciences · 2026
- An explainable hybrid stacked deep learning framework for forecasting PM10 concentrations in urban airExplora Environment and Resource · 2025
- Development of machine learning models for estimating ambient air pollutants (PM2.5, and O3) concentrations and health risk assessment across cold and warm seasons in 22 districts of Tehran megacityEnvironmental Technology & Innovation · 2026
- Ensemble learning for air quality index prediction: integrating gradient boosting, XGBoost, and stacking with SHAP-based interpretabilityScientific Reports · 2026
- Beyond concentration-based analysis: explainable AI identifies environmental settings influencing urban PM10 variability.The Science of the total environment · 2026